00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_STORE_XMLSCRIPTIMPL_H 00013 #define ZYPP_STORE_XMLSCRIPTIMPL_H 00014 00015 #include "zypp/TmpPath.h" 00016 #include "zypp/detail/ScriptImplIf.h" 00017 00018 using namespace zypp::filesystem; 00019 00021 namespace zypp 00022 { 00023 00024 namespace storage 00025 { 00026 00028 // 00029 // CLASS NAME : XMLScriptImpl 00030 // 00032 struct XMLScriptImpl : public zypp::detail::ScriptImplIf 00033 { 00035 XMLScriptImpl(); 00037 ~XMLScriptImpl(); 00038 00040 Pathname do_script() const; 00042 Pathname undo_script() const; 00044 virtual bool undo_available() const; 00045 00046 TmpFile _do_script; 00047 TmpFile _undo_script; 00048 }; 00050 00052 } // namespace detail 00055 } // namespace zypp 00057 #endif // ZYPP_DETAIL_SCRIPTIMPL_H
1.4.6