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: 00044 virtual unsigned mediaNr() const; 00045 00046 public: 00048 virtual bool doAvailable() const; 00049 00053 virtual std::string doScriptInlined() const; 00054 00058 virtual OnMediaLocation doScriptLocation() const; 00059 00061 virtual bool undoAvailable() const; 00062 00066 virtual std::string undoScriptInlined() const; 00067 00071 virtual OnMediaLocation undoScriptLocation() const; 00072 }; 00074 00076 } // namespace detail 00079 } // namespace zypp 00081 #endif // ZYPP_DETAIL_SCRIPTIMPLIF_H
1.5.3