SrcPackageImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_MEMORYSRCPackageIMPL_H
00013 #define ZYPP_SOURCE_MEMORYSRCPackageIMPL_H
00014 
00015 #include "zypp/detail/SrcPackageImplIf.h"
00016 #include "zypp/DiskUsage.h"
00017 #include "zypp/data/ResolvableData.h"
00018 #include "zypp/repo/memory/RepoImpl.h"
00019 
00021 namespace zypp
00022 { 
00023 
00024   namespace repo
00025   { 
00026     namespace memory
00027     { 
00028 
00030       //
00031       //        CLASS NAME : SrcPackageImpl
00032       //
00035       struct SrcPackageImpl : public zypp::detail::SrcPackageImplIf
00036       {
00037         SrcPackageImpl( memory::RepoImpl::Ptr repo, data::SrcPackage_Ptr ptr);
00038         virtual ~SrcPackageImpl();
00039 
00040         virtual TranslatedText summary() const;
00041         virtual TranslatedText description() const;
00042         virtual TranslatedText insnotify() const;
00043         virtual TranslatedText delnotify() const;
00044         virtual TranslatedText licenseToConfirm() const;
00045         virtual Vendor vendor() const;
00046         virtual ByteCount size() const;
00047         virtual bool installOnly() const;
00048         virtual Date buildtime() const;
00049         virtual Date installtime() const;
00050 
00051         virtual const DiskUsage & diskusage() const;
00052         virtual OnMediaLocation location() const;
00053 private:
00054         repo::memory::RepoImpl::Ptr _repository;
00055 
00056         //ResObject
00057         TranslatedText _summary;
00058         TranslatedText _description;
00059         TranslatedText _insnotify;
00060         TranslatedText _delnotify;
00061         TranslatedText _license_to_confirm;
00062         Vendor _vendor;
00063         ByteCount _size;
00064         bool _install_only;
00065         Date _buildtime;
00066         Date _installtime;
00067 
00068         OnMediaLocation _location;
00069         DiskUsage _diskusage;
00070       };
00073     } // namespace memory
00075   } // namespace repository
00078 } // namespace zypp
00080 #endif // ZYPP_SOURCE_MEMORY_SRCPACKAGEIMPL_H

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