00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_SCRIPTIMPLIF_H 00013 #define ZYPP_DETAIL_SCRIPTIMPLIF_H 00014 00015 #include "zypp/detail/ResObjectImplIf.h" 00016 #include "zypp/Pathname.h" 00017 00019 namespace zypp 00020 { 00021 00022 class Script; 00023 00025 namespace detail 00026 { 00027 00029 // 00030 // CLASS NAME : ScriptImplIf 00031 // 00034 class ScriptImplIf : public ResObjectImplIf 00035 { 00036 public: 00037 typedef Script ResType; 00038 00039 public: 00041 virtual Pathname do_script() const = 0; 00043 virtual Pathname undo_script() const = 0; 00045 virtual bool undo_available() const = 0; 00047 virtual ByteCount size() const; 00048 }; 00050 00052 } // namespace detail 00055 } // namespace zypp 00057 #endif // ZYPP_DETAIL_SCRIPTIMPLIF_H