ScriptImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #ifndef zypp_repo_memory_ScriptImpl_H
00011 #define zypp_repo_memory_ScriptImpl_H
00012 
00013 #include "zypp/detail/ScriptImpl.h"
00014 #include "zypp/repo/memory/RepoImpl.h"
00015 
00017 namespace zypp
00018 { 
00019 namespace repo
00020 { 
00021 namespace memory
00022 { 
00023 
00025   //
00026   //        CLASS NAME : ScriptImpl
00027   //
00028   class ScriptImpl : public detail::ScriptImplIf
00029   {
00030   public:
00031 
00032     ScriptImpl( memory::RepoImpl::Ptr repo, data::Script_Ptr ptr);
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: TODO script attr
00046 
00047     virtual Repository repository() const;
00048 
00049   protected:
00050     repo::memory::RepoImpl::Ptr _repository;
00051 
00052     //ResObject
00053     TranslatedText _summary;
00054     TranslatedText _description;
00055     TranslatedText _insnotify;
00056     TranslatedText _delnotify;
00057     TranslatedText _license_to_confirm;
00058     Vendor _vendor;
00059     ByteCount _size;
00060     bool _install_only;
00061     Date _buildtime;
00062     Date _installtime;
00063   };
00065 } // namespace memory
00066 } // namespace repository
00067 } // namespace zypp
00069 #endif // ZMD_BACKEND_DBSOURCE_DBPACKAGEIMPL_H
00070 

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