LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
LC::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 144 of file iresourceplugin.h.

Constructor & Destructor Documentation

◆ ~IResourcePlugin()

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

Definition at line 147 of file iresourceplugin.h.

Member Function Documentation

◆ GetResourceSources()

virtual QList<QObject*> LC::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: