#include <TelepathyQt4/Client/optional-interface-factory.h>
Public Member Functions | |
OptionalInterfaceCache (QObject *proxy) | |
~OptionalInterfaceCache () | |
Protected Member Functions | |
AbstractInterface * | getCached (const QString &name) const |
void | cache (AbstractInterface *interface) const |
QObject * | proxy () const |
Telepathy::Client::OptionalInterfaceCache::OptionalInterfaceCache | ( | QObject * | proxy | ) | [explicit] |
Class constructor.
Telepathy::Client::OptionalInterfaceCache::~OptionalInterfaceCache | ( | ) |
Class destructor.
Frees all interface instances constructed by this factory.
void Telepathy::Client::OptionalInterfaceCache::cache | ( | AbstractInterface * | interface | ) | const [protected] |
References Telepathy::debug().
Referenced by Telepathy::Client::OptionalInterfaceFactory< Channel >::interface().
AbstractInterface * Telepathy::Client::OptionalInterfaceCache::getCached | ( | const QString & | name | ) | const [protected] |
References Telepathy::debug().
Referenced by Telepathy::Client::OptionalInterfaceFactory< Channel >::interface().
QObject * Telepathy::Client::OptionalInterfaceCache::proxy | ( | ) | const [protected] |