20 #ifndef INCLUDED_PLUGINS_MANAGER_HPP_
21 #define INCLUDED_PLUGINS_MANAGER_HPP_
26 #include <boost/ptr_container/ptr_vector.hpp>
27 #include <boost/scoped_ptr.hpp>
28 #include <boost/shared_ptr.hpp>
75 boost::scoped_ptr<application_lua_kernel>
kernel_;
size_t add_plugin(const std::string &name, const std::string &prog)
MAKE_ENUM(STATUS,(NONE,"not created")(RUNNING,"running")(STOPPED,"stopped")) size_t size()
STATUS get_status(size_t idx)
size_t load_plugin(const std::string &name, const std::string &filename)
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
Definitions for the interface to Wesnoth Markup Language (WML).
boost::scoped_ptr< application_lua_kernel > kernel_
boost::shared_ptr< bool > playing_
boost::ptr_vector< plugin > plugins_
std::string get_detailed_status(size_t idx)
void play_slice(const plugins_context &)
std::string get_name(size_t idx)
GLuint const GLchar * name
void start_plugin(size_t idx)
lua_kernel_base * get_kernel_base()
A config object defines a single node in a WML file, with access to child nodes.
void notify_event(const std::string &name, const config &data)
Defines the MAKE_ENUM macro.
GLsizei const GLcharARB ** string
plugins_manager(application_lua_kernel *)