ResObjectImplIf.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include "zypp/detail/ResObjectImplIf.h"
00013 #include "zypp/source/SourceImpl.h"
00014 #include "zypp/SourceFactory.h"
00015 
00017 namespace zypp
00018 { 
00019 
00020   namespace detail
00021   { 
00022 
00024     // Default implementation of ResObjectImplIf attributes,
00025     // as far as resonable.
00027 
00028       TranslatedText ResObjectImplIf::summary() const
00029       { return TranslatedText::notext; }
00030 
00031       TranslatedText ResObjectImplIf::description() const
00032       { return TranslatedText::notext; }
00033 
00034       TranslatedText ResObjectImplIf::insnotify() const
00035       { return TranslatedText::notext; }
00036 
00037       TranslatedText ResObjectImplIf::delnotify() const
00038       { return TranslatedText::notext; }
00039 
00040       TranslatedText ResObjectImplIf::licenseToConfirm() const
00041       { return TranslatedText::notext; }
00042 
00043       Vendor ResObjectImplIf::vendor() const
00044       { return Vendor(); }
00045 
00046       ByteCount ResObjectImplIf::size() const
00047       { return ByteCount(); }
00048 
00049       ByteCount ResObjectImplIf::archivesize() const
00050       { return ByteCount(); }
00051 
00052       Source_Ref ResObjectImplIf::source() const
00053       { return Source_Ref::noSource; }
00054 
00055       unsigned ResObjectImplIf::sourceMediaNr() const
00056       { return 0; }
00057 
00058       bool ResObjectImplIf::installOnly() const
00059       { return false; }
00060 
00061       Date ResObjectImplIf::buildtime() const
00062       { return Date(); }
00063 
00064       Date ResObjectImplIf::installtime() const
00065       { return Date(); }
00066 
00067       ZmdId ResObjectImplIf::zmdid() const
00068       { return 0; }
00069 
00071   } // namespace detail
00074 } // namespace zypp

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