#include <csbuild-main.h>


Public Types | |
| enum | error_code { DEVICE_NOTBLOCK, DEVICE_OWNED, DEVICE_RELEASE, DEVICE_STAT } |
| 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. | |
| virtual void | action_build () |
| Build packages. | |
| virtual int | run_impl () |
| Run the program. | |
Public 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_build | ( | ) | [virtual] |
| int main::run_impl | ( | ) | [virtual] |
Run the program.
Implements schroot_base::main.
References action_build(), csbuild::options::ACTION_BUILD, schroot_base::main::action_help(), schroot_base::options::ACTION_HELP, schroot_base::main::action_version(), schroot_base::options::ACTION_VERSION, and opts.
1.5.8