dchroot-session-base.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef DCHROOT_SESSION_BASE_H
00020 #define DCHROOT_SESSION_BASE_H
00021
00022 #include <sbuild/sbuild-session.h>
00023
00024 namespace dchroot
00025 {
00026
00035 class session_base : public sbuild::session
00036 {
00037 public:
00048 session_base (std::string const& service,
00049 config_ptr& config,
00050 operation operation,
00051 sbuild::string_list const& chroots,
00052 bool compat);
00053
00055 virtual ~session_base ();
00056
00062 bool
00063 get_compat () const;
00064
00070 void
00071 set_compat (bool state);
00072
00073 protected:
00074 virtual void
00075 run_impl ();
00076
00077 virtual sbuild::string_list
00078 get_command_directories () const;
00079
00080 private:
00082 bool compat;
00083 };
00084
00085 }
00086
00087 #endif
00088
00089
00090
00091
00092
00093