LeechCraft Azoth  0.6.70-6645-gcd10d7e
Modular multiprotocol IM plugin for LeechCraft
LeechCraft::Azoth::IResourcePlugin Class Referenceabstract

Interface for plugins having resource sources, like smile support or chat window styles. More...

#include "iresourceplugin.h"

Public Member Functions

virtual ~IResourcePlugin ()
 
virtual QList< QObject * > GetResourceSources () const =0
 Returns the resource sources that this plugin provides. More...
 

Detailed Description

Interface for plugins having resource sources, like smile support or chat window styles.

Each plugin that wishes to provide the Azoth core with various resource sources, like, support for loading of QIP- or Psi-style plugins or some special styles (like Adium ones, for example), should implement this interface. Since it's plugin for another plugin, it should also implement IPlugin2, and it should return "org.LeechCraft.Plugins.Azoth.Plugins.IResourceSourcePlugin" string from the IPlugin2::GetPluginClasses(), among others.

See also
IEmoticonResourceSource, IChatStyleResourceSource

Definition at line 166 of file iresourceplugin.h.

Constructor & Destructor Documentation

virtual LeechCraft::Azoth::IResourcePlugin::~IResourcePlugin ( )
inlinevirtual

Definition at line 169 of file iresourceplugin.h.

References Q_DECLARE_INTERFACE().

+ Here is the call graph for this function:

Member Function Documentation

virtual QList<QObject*> LeechCraft::Azoth::IResourcePlugin::GetResourceSources ( ) const
pure virtual

Returns the resource sources that this plugin provides.

Each object in this list should implement at least one interface derived from IResourceSource — that is, IEmoticonResourceSource or IChatStyleResourceSource.

Returns
List of resource sources.
See also
IEmoticonResourceSource, IChatStyleResourceSource

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