libqutim  0.3.1.0
qutim_sdk_0_3::Plugin Class Referenceabstract

#include <plugin.h>

+ Inheritance diagram for qutim_sdk_0_3::Plugin:

Public Types

enum  Capability { Loadable = 0x01 }
 

Public Member Functions

 Plugin ()
 
virtual ~Plugin ()
 
ExtensionInfoList avaiableExtensions () const
 
PluginInfo info () const
 
virtual void init ()=0
 
virtual bool load ()=0
 
virtual bool unload ()=0
 

Protected Member Functions

void addAuthor (const LocalizedString &name, const LocalizedString &task, const QString &email=QString(), const QString &web=QString())
 
void addAuthor (const QString &ocsUsername)
 
void addExtension (const LocalizedString &name, const LocalizedString &description, const ObjectGenerator *generator, ExtensionIcon icon=ExtensionIcon())
 
template<typename T >
void addExtension (const LocalizedString &name, const LocalizedString &description, ExtensionIcon icon=ExtensionIcon())
 
template<typename T , typename I0 >
void addExtension (const LocalizedString &name, const LocalizedString &description, ExtensionIcon icon=ExtensionIcon())
 
template<typename T , typename I0 , typename I1 >
void addExtension (const LocalizedString &name, const LocalizedString &description, ExtensionIcon icon=ExtensionIcon())
 
void setCapabilities (Capabilities capabilities)
 
void setInfo (const LocalizedString &name, const LocalizedString &description, quint32 version=0, ExtensionIcon icon=ExtensionIcon())
 

Member Enumeration Documentation

Enumerator
Loadable 

Constructor & Destructor Documentation

qutim_sdk_0_3::Plugin::Plugin ( )
virtual qutim_sdk_0_3::Plugin::~Plugin ( )
virtual

Member Function Documentation

void qutim_sdk_0_3::Plugin::addAuthor ( const LocalizedString name,
const LocalizedString task,
const QString &  email = QString(),
const QString &  web = QString() 
)
protected
void qutim_sdk_0_3::Plugin::addAuthor ( const QString &  ocsUsername)
protected
void qutim_sdk_0_3::Plugin::addExtension ( const LocalizedString name,
const LocalizedString description,
const ObjectGenerator generator,
ExtensionIcon  icon = ExtensionIcon() 
)
protected
template<typename T >
void qutim_sdk_0_3::Plugin::addExtension ( const LocalizedString name,
const LocalizedString description,
ExtensionIcon  icon = ExtensionIcon() 
)
inlineprotected
template<typename T , typename I0 >
void qutim_sdk_0_3::Plugin::addExtension ( const LocalizedString name,
const LocalizedString description,
ExtensionIcon  icon = ExtensionIcon() 
)
inlineprotected
template<typename T , typename I0 , typename I1 >
void qutim_sdk_0_3::Plugin::addExtension ( const LocalizedString name,
const LocalizedString description,
ExtensionIcon  icon = ExtensionIcon() 
)
inlineprotected
ExtensionInfoList qutim_sdk_0_3::Plugin::avaiableExtensions ( ) const
PluginInfo qutim_sdk_0_3::Plugin::info ( ) const
virtual void qutim_sdk_0_3::Plugin::init ( )
pure virtual
virtual bool qutim_sdk_0_3::Plugin::load ( )
pure virtual
void qutim_sdk_0_3::Plugin::setCapabilities ( Capabilities  capabilities)
protected
void qutim_sdk_0_3::Plugin::setInfo ( const LocalizedString name,
const LocalizedString description,
quint32  version = 0,
ExtensionIcon  icon = ExtensionIcon() 
)
protected
virtual bool qutim_sdk_0_3::Plugin::unload ( )
pure virtual

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

Generated by Doxygen