ScriptImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #ifndef zypp_repo_cached_ScriptImpl_H
00011 #define zypp_repo_cached_ScriptImpl_H
00012 
00013 #include "zypp/detail/ScriptImpl.h"
00014 #include "zypp/repo/cached/RepoImpl.h"
00015 
00017 namespace zypp
00018 { 
00019 namespace repo
00020 { 
00021 namespace cached
00022 { 
00023 
00025   //
00026   //        CLASS NAME : ScriptImpl
00027   //
00028   class ScriptImpl : public detail::ScriptImplIf
00029   {
00030   public:
00031 
00032     ScriptImpl( const data::RecordId &id, repo::cached::RepoImpl::Ptr repository_r );
00033 
00034     virtual TranslatedText summary() const;
00035     virtual TranslatedText description() const;
00036     virtual TranslatedText insnotify() const;
00037     virtual TranslatedText delnotify() const;
00038     virtual TranslatedText licenseToConfirm() const;
00039     virtual Vendor vendor() const;
00040     virtual ByteCount size() const;
00041     virtual bool installOnly() const;
00042     virtual Date buildtime() const;
00043     virtual Date installtime() const;
00044 
00045     // SCRIPT
00046     virtual std::string doScriptInlined() const;
00047     virtual OnMediaLocation doScriptLocation() const;
00048     virtual std::string undoScriptInlined() const;
00049     virtual OnMediaLocation undoScriptLocation() const;
00050 
00051     virtual Repository repository() const;
00052 
00053   private:
00054     repo::cached::RepoImpl::Ptr _repository;
00055     data::RecordId _id;
00056   };
00058 } // namespace cached
00059 } // namespace repository
00060 } // namespace zypp
00062 #endif // ZMD_BACKEND_DBSOURCE_DBPACKAGEIMPL_H
00063 

Generated on Tue Sep 25 19:23:01 2007 for libzypp by  doxygen 1.5.3