#include <PluginSlots.h>
Public Member Functions | |
CPluginSlot (GtkWidget *main_window, const std::string &name, const _QERPluginTable &table) | |
void | Dispatch (const std::string &p) |
const char * | getMenuName () |
std::size_t | getCommandCount () |
const char * | getCommand (std::size_t n) |
const char * | getCommandTitle (std::size_t n) |
void | addMenuID (std::size_t n) |
bool | ownsCommandID (std::size_t n) |
Private Attributes | |
std::string | m_menu_name |
const _QERPluginTable * | mpTable |
std::list< std::string > | m_CommandStrings |
std::list< std::string > | m_CommandTitleStrings |
std::list< std::size_t > | m_CommandIDs |
Definition at line 22 of file PluginSlots.h.
CPluginSlot::CPluginSlot | ( | GtkWidget * | main_window, | |
const std::string & | name, | |||
const _QERPluginTable & | table | |||
) |
build directly from a SYN_PROVIDE interface
void CPluginSlot::addMenuID | ( | std::size_t | n | ) | [virtual] |
Implements IPlugin.
void CPluginSlot::Dispatch | ( | const std::string & | p | ) |
dispatching a command by name to the plugin
const char* CPluginSlot::getCommand | ( | std::size_t | n | ) | [virtual] |
Implements IPlugin.
std::size_t CPluginSlot::getCommandCount | ( | ) | [virtual] |
Implements IPlugin.
const char* CPluginSlot::getCommandTitle | ( | std::size_t | n | ) | [virtual] |
Implements IPlugin.
const char* CPluginSlot::getMenuName | ( | ) | [virtual] |
Implements IPlugin.
bool CPluginSlot::ownsCommandID | ( | std::size_t | n | ) | [virtual] |
Implements IPlugin.
std::list<std::size_t> CPluginSlot::m_CommandIDs [private] |
Definition at line 28 of file PluginSlots.h.
std::list<std::string> CPluginSlot::m_CommandStrings [private] |
Definition at line 26 of file PluginSlots.h.
std::list<std::string> CPluginSlot::m_CommandTitleStrings [private] |
Definition at line 27 of file PluginSlots.h.
std::string CPluginSlot::m_menu_name [private] |
Definition at line 24 of file PluginSlots.h.
const _QERPluginTable* CPluginSlot::mpTable [private] |
Definition at line 25 of file PluginSlots.h.