00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SCHROOT_RELEASELOCK_OPTIONS_H
00021 #define SCHROOT_RELEASELOCK_OPTIONS_H
00022
00023 #include <schroot-base/schroot-base-options.h>
00024
00025 #include <string>
00026
00027 namespace schroot_releaselock
00028 {
00029
00033 class options : public schroot_base::options
00034 {
00035 public:
00037 typedef std::tr1::shared_ptr<options> ptr;
00038
00040 static const action_type ACTION_RELEASELOCK;
00041
00043 options ();
00044
00046 virtual ~options ();
00047
00049 std::string device;
00051 int pid;
00052
00053 protected:
00054 virtual void
00055 add_options ();
00056
00057 virtual void
00058 add_option_groups ();
00059
00060 virtual void
00061 check_options ();
00062
00064 boost::program_options::options_description lock;
00065 };
00066
00067 }
00068
00069 #endif
00070
00071
00072
00073
00074
00075