XMLMessageImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_STORE_XMLMESSAGEIMPL_H
00013 #define ZYPP_STORE_XMLMESSAGEIMPL_H
00014 
00015 #include "zypp/detail/MessageImplIf.h"
00016 
00018 namespace zypp
00019 { 
00020 
00021   namespace storage
00022   { 
00023 
00025     //
00026     //  CLASS NAME : XMLMessageImpl
00027     //
00029     struct XMLMessageImpl : public zypp::detail::MessageImplIf
00030     {
00031     
00033       XMLMessageImpl();
00035       virtual ~XMLMessageImpl();
00036 
00037       virtual TranslatedText summary() const
00038       { return _summary; }
00039       virtual TranslatedText description() const
00040       { return _description; }
00041       virtual TranslatedText insnotify() const
00042       { return _install_notify; }    
00043       virtual TranslatedText delnotify() const
00044       { return _delete_notify; }    
00045       virtual TranslatedText licenseToConfirm() const
00046       { return _license_to_confirm; }    
00047       virtual Vendor vendor() const
00048       { return _vendor; }    
00049       virtual ByteCount size() const
00050       { return _size; }    
00051       virtual ByteCount archivesize() const
00052       { return _archive_size; }    
00053       virtual unsigned sourceMediaNr() const
00054       { return 0; }    
00055       virtual bool installOnly() const
00056       { return _install_only; }    
00057       virtual Date buildtime() const
00058       { return _build_time; }    
00059       virtual Date installtime() const
00060       { return _install_time; }    
00061       
00063       virtual TranslatedText text() const;
00064     
00066       TranslatedText _text;
00067       
00068       TranslatedText _summary;
00069       TranslatedText _description;
00070       
00071       TranslatedText _install_notify;
00072       TranslatedText _delete_notify;
00073       TranslatedText _license_to_confirm;
00074       std::string _vendor;
00075       ByteCount _size;
00076       ByteCount _archive_size;
00077       bool _install_only;
00078       Date _build_time;
00079       Date _install_time;
00080       
00081     };
00083 
00085   } // namespace storage
00088 } // namespace zypp
00090 #endif // ZYPP_DETAIL_MESSAGEIMPL_H

Generated on Thu Jul 6 00:07:26 2006 for zypp by  doxygen 1.4.6