#include <schroot-listmounts-main.h>


Public Types | |
| enum | error_code { FIND } |
| Error codes. More... | |
| typedef sbuild::custom_error < error_code > | error |
| Exception type. | |
Public Member Functions | |
| main (options::ptr &options) | |
| The constructor. | |
| virtual | ~main () |
| The destructor. | |
Protected Member Functions | |
| virtual int | run_impl () |
| Run the program. | |
Private Member Functions | |
| virtual void | action_listmounts () |
| List mounts. | |
Private Attributes | |
| options::ptr | opts |
| The program options. | |
This class is used to "run" schroot.
Exception type.
| main::main | ( | options::ptr & | options | ) |
| main::~main | ( | ) | [virtual] |
| void main::action_listmounts | ( | ) | [private, virtual] |
List mounts.
References sbuild::mntstream::mntstream::mntentry::directory, FIND, sbuild::normalname(), and opts.
Referenced by run_impl().

| int main::run_impl | ( | ) | [protected, virtual] |
Run the program.
Implements schroot_base::main.
References schroot_base::main::action_help(), schroot_base::options::ACTION_HELP, action_listmounts(), schroot_listmounts::options::ACTION_LISTMOUNTS, schroot_base::main::action_version(), schroot_base::options::ACTION_VERSION, and opts.
options::ptr schroot_listmounts::main::opts [private] |
1.5.8