29 #ifndef ACCOUNTS_PROVIDER_H
30 #define ACCOUNTS_PROVIDER_H
32 #include "Accounts/accountscommon.h"
34 #include <QStringList>
35 #include <QDomDocument>
39 typedef struct _AgProvider AgProvider;
46 typedef QList<Provider> ProviderList;
59 QString displayName()
const;
60 QString description()
const;
61 QString pluginName()
const;
62 QString trCatalog()
const;
63 QString iconName()
const;
64 QString domainsRegExp()
const;
65 bool isSingleAccount()
const;
66 const QDomDocument domDocument()
const;
70 return p1.m_provider == p2.m_provider || p1.
name() == p2.
name();
76 Provider(AgProvider *provider, ReferenceMode mode = AddReference);
77 AgProvider *provider()
const;
78 AgProvider *m_provider;
84 #endif // ACCOUNTS_PROVIDER_H