00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_SCRIPTIMPL_H 00013 #define ZYPP_DETAIL_SCRIPTIMPL_H 00014 00015 #include "zypp/detail/ScriptImplIf.h" 00016 00018 namespace zypp 00019 { 00020 00021 namespace detail 00022 { 00023 00025 // 00026 // CLASS NAME : ScriptImpl 00027 // 00029 class ScriptImpl : public ScriptImplIf 00030 { 00031 public: 00033 ScriptImpl(); 00035 ~ScriptImpl(); 00036 00037 public: 00039 Pathname do_script() const; 00041 Pathname undo_script() const; 00043 virtual bool undo_available() const; 00044 protected: 00046 std::string _do_script; 00048 std::string _undo_script; 00049 }; 00051 00053 } // namespace detail 00056 } // namespace zypp 00058 #endif // ZYPP_DETAIL_SCRIPTIMPL_H