36 #ifndef _PRGBIND_PROGRAM_HPP_INCLUDED
37 #define _PRGBIND_PROGRAM_HPP_INCLUDED
40 #include <boost/shared_ptr.hpp>
72 virtual bool is_mine(
const std::string& filename)
const=0;
virtual ~Program()
Definition: program.hpp:70
boost::shared_ptr< Program > ProgramR
Definition: program.hpp:81
Interface for programs of a program library.
Definition: program.hpp:54
Definition: program.hpp:61
Definition: program.hpp:64
Category category() const
Definition: program.hpp:75
Definition: program.hpp:62
Definition: program.hpp:60
virtual void loadProgram(ProgramLibrary &library, db::Database *transactionDB, const std::string &filename)=0
Definition: program.hpp:63
Category
Category of the program. Determines ascending load order (dependencies)
Definition: program.hpp:58
Class representing the program library with all programs loaded.
Definition: programLibrary.hpp:59
virtual bool is_mine(const std::string &filename) const =0
Base class for database interface. All databases should provide this interface.
Definition: database.hpp:50
Category m_category
Definition: program.hpp:78
Program(Category category_)
Definition: program.hpp:67