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");
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IAccount,"org.Deviant.LeechCraft.Azoth.IAccount/1.0")
virtual QString GetImportProtocolID() const =0
Returns the "import-style" ID of the protocol.
Interface for protocols supporting import.
virtual QString GetEntryID(const QString &hrID, QObject *account)=0
Returns the unique entry ID for given entry and account.
virtual bool ImportAccount(const QVariantMap &data)=0
Should try to import the account from data.