![]() |
LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
|
Interface for protocols supporting import. More...
#include "isupportimport.h"
Public Member Functions | |
~ISupportImport () | |
virtual QString | GetImportProtocolID () const =0 |
Returns the "import-style" ID of the protocol. | |
virtual bool | ImportAccount (const QVariantMap &data)=0 |
Should try to import the account from data. | |
virtual QString | GetEntryID (const QString &hrID, QObject *account)=0 |
Returns the unique entry ID for given entry and account. |
Interface for protocols supporting import.
This interface should be implemented by the protocols supporting import of accounts or IM history.
Definition at line 25 of file isupportimport.h.
|
inline |
Definition at line 28 of file isupportimport.h.
|
pure virtual |
Returns the unique entry ID for given entry and account.
This function is used to retrieve the unique entry ID from the given human-readable ID (hrID) and account object.
The entry identified by human-readable ID may be absent in the account's contact list.
[in] | hrID | The human-readable ID of the entry. |
[in] | account | The account object where the entry should belong. |
|
pure virtual |
Returns the "import-style" ID of the protocol.
The following should be used, if possible:
|
pure virtual |
Should try to import the account from data.
The following keys are used globally, where possible:
[in] | data | The variant map with account settings. |