#include <dchroot-main-base.h>
Inheritance diagram for dchroot::main_base:
Public Member Functions | |
main_base (schroot::options_base::ptr &options) | |
The constructor. | |
virtual | ~main_base () |
The destructor. | |
Protected Member Functions | |
void | check_dchroot_conf () |
virtual void | compat_check () |
Check compatibility. | |
virtual void | action_config () |
Dump configuration file for chroots. | |
virtual void | action_list () |
List chroots. | |
Protected Attributes | |
bool | use_dchroot_conf |
This class contains functionality common to dchroot and dchroot-dsa.
dchroot::main_base::main_base | ( | schroot::options_base::ptr & | options | ) |
The constructor.
options | the command-line options to use. |
main_base::~main_base | ( | ) | [virtual] |
The destructor.
void main_base::action_config | ( | ) | [protected, virtual] |
void main_base::action_list | ( | ) | [protected, virtual] |
void main_base::check_dchroot_conf | ( | ) | [protected] |
void main_base::compat_check | ( | ) | [protected, virtual] |
Check compatibility.
Does nothing, but derived classes may use it as they see fit.
Reimplemented from schroot::main.
bool dchroot::main_base::use_dchroot_conf [protected] |