Emit error signal when login fails
[situare] / src / engine / contactmanager.cpp
1 #include <QDebug>
2
3 #if defined(Q_WS_MAEMO_5) & defined(ARMEL)
4 #include "contactmanagerprivate.h"
5 #else
6 #include "contactmanagerprivatestub.h"
7 #endif
8
9 #include "contactmanager.h"
10
11 ContactManager::ContactManager(QObject *parent)
12     : QObject(parent),
13       m_contactManagerPrivate(0)
14 {
15     qDebug() << __PRETTY_FUNCTION__;
16
17     m_contactManagerPrivate = new ContactManagerPrivate(this);
18 }
19
20 QString ContactManager::contactGuid(const QString &facebookId) const
21 {
22     qDebug() << __PRETTY_FUNCTION__;
23
24     return m_contactManagerPrivate->contactGuid(facebookId);
25 }
26
27 void ContactManager::requestContactGuids()
28 {
29     qDebug() << __PRETTY_FUNCTION__;
30
31     m_contactManagerPrivate->requestContactGuids();
32 }