CPluginSlot Class Reference

#include <PluginSlots.h>

Inheritance diagram for CPluginSlot:
Inheritance graph
[legend]
Collaboration diagram for CPluginSlot:
Collaboration graph
[legend]

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 _QERPluginTablempTable
std::list< std::stringm_CommandStrings
std::list< std::stringm_CommandTitleStrings
std::list< std::size_t > m_CommandIDs

Detailed Description

Definition at line 22 of file PluginSlots.h.


Constructor & Destructor Documentation

CPluginSlot::CPluginSlot ( GtkWidget main_window,
const std::string name,
const _QERPluginTable table 
)

build directly from a SYN_PROVIDE interface


Member Function Documentation

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.


Field Documentation

std::list<std::size_t> CPluginSlot::m_CommandIDs [private]

Definition at line 28 of file PluginSlots.h.

Definition at line 26 of file PluginSlots.h.

Definition at line 27 of file PluginSlots.h.

Definition at line 24 of file PluginSlots.h.

Definition at line 25 of file PluginSlots.h.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2