1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Script.cc
12 #include "zypp/Script.h"
16 ///////////////////////////////////////////////////////////////////
18 { /////////////////////////////////////////////////////////////////
20 ///////////////////////////////////////////////////////////////////
22 // METHOD NAME : Script::Script
25 Script::Script( const std::string & name_r,
26 const Edition & edition_r,
28 : ResObject( ResTraits<Self>::_kind, name_r, edition_r, arch_r )
31 ///////////////////////////////////////////////////////////////////
33 // METHOD NAME : Script::~Script
39 ///////////////////////////////////////////////////////////////////
41 // Script interface forwarded to implementation
43 ///////////////////////////////////////////////////////////////////
45 std::string Script::do_script()
46 { return pimpl().do_script(); }
48 std::string Script::undo_script()
49 { return pimpl().undo_script(); }
51 bool Script::undo_available()
52 { return pimpl().undo_available(); }
54 /////////////////////////////////////////////////////////////////
56 ///////////////////////////////////////////////////////////////////