00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include "zypp/Script.h" 00013 00014 using namespace std; 00015 00017 namespace zypp 00018 { 00019 00020 IMPL_PTR_TYPE(Script); 00021 00023 // 00024 // METHOD NAME : Script::Script 00025 // METHOD TYPE : Ctor 00026 // 00027 Script::Script( const NVRAD & nvrad_r ) 00028 : ResObject( TraitsType::kind, nvrad_r ) 00029 {} 00030 00032 // 00033 // METHOD NAME : Script::~Script 00034 // METHOD TYPE : Dtor 00035 // 00036 Script::~Script() 00037 {} 00038 00040 // 00041 // Script interface forwarded to implementation 00042 // 00044 00045 bool Script::doAvailable() const 00046 { return pimpl().doAvailable(); } 00047 00048 std::string Script::doScriptInlined() const 00049 { return pimpl().doScriptInlined(); } 00050 00051 OnMediaLocation Script::doScriptLocation() const 00052 { return pimpl().doScriptLocation(); } 00053 00054 bool Script::undoAvailable() const 00055 { return pimpl().undoAvailable(); } 00056 00057 std::string Script::undoScriptInlined() const 00058 { return pimpl().undoScriptInlined(); } 00059 00060 OnMediaLocation Script::undoScriptLocation() const 00061 { return pimpl().undoScriptLocation(); } 00062 00064 } // namespace zypp
1.5.3