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 ByteCount ResObjectImplIf::size() const 00041 { return 0; } 00042 00043 bool ResObjectImplIf::providesSources() const 00044 { return false; } 00045 00046 Source_Ref ResObjectImplIf::source() const 00047 { return Source_Ref::noSource; } 00048 00049 ZmdId ResObjectImplIf::zmdid() const 00050 { return 0; } 00051 00052 Label ResObjectImplIf::instSrcLabel() const 00053 { return Label(); } 00054 00055 Vendor ResObjectImplIf::instSrcVendor() const 00056 { return Vendor(); } 00057 00059 } // namespace detail 00062 } // namespace zypp
1.4.6