30 #ifndef PLUGINS_AZOTH_INTERFACES_ISUPPORTIMPORT_H 31 #define PLUGINS_AZOTH_INTERFACES_ISUPPORTIMPORT_H 33 #include <QVariantMap> 90 virtual QString
GetEntryID (
const QString& hrID, QObject *account) = 0;
96 "org.Deviant.LeechCraft.Azoth.ISupportImport/1.0")
Interface for protocols supporting import.
virtual bool ImportAccount(const QVariantMap &data)=0
Should try to import the account from data.
virtual QString GetImportProtocolID() const =0
Returns the "import-style" ID of the protocol.
virtual QString GetEntryID(const QString &hrID, QObject *account)=0
Returns the unique entry ID for given entry and account.