#include <schroot-listmounts-main.h>
Inheritance diagram for schroot_listmounts::main:
Public Member Functions | |
main (options::ptr &options) | |
The constructor. | |
virtual | ~main () |
The destructor. | |
sbuild::string_list | list_mounts (std::string const &mountfile) const |
List mounts. | |
virtual void | action_listmounts () |
Release lock. | |
virtual int | run_impl () |
Run the program. | |
Public Attributes | |
options::ptr | options |
The program options. |
This class is used to "run" schroot.
main::main | ( | options::ptr & | options | ) |
The constructor.
options | the command-line options to use. |
main::~main | ( | ) | [virtual] |
void main::action_listmounts | ( | ) | [virtual] |
Release lock.
stream | the stream to output to. |
sbuild::string_list main::list_mounts | ( | std::string const & | mountfile | ) | const |
List mounts.
mountfile | the file containing the database of mounted filesystems. | |
mountpoint | the mount point to check for. |
int main::run_impl | ( | ) | [virtual] |
Run the program.
Implements schroot_base::main.
The program options.