Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEMPLATE = lib
- CONFIG += plugin
- CONFIG += qt debug link_pkgconfig
- PKGCONFIG += accounts-qt libsignon-qt libsignon-plugins
- QT += xml
- TARGET = footestplugin
- DEFINES += QT_NO_DEBUG
- INCLUDEPATH += ./src /opt/qt-sdk-1.1/Madde/sysroots/harmattan-meego-arm-sysroot-1134-slim/usr/include/signon-plugins/
- VPATH += $$DEPENDPATH $$INCLUDEPATH
- HEADERS += \
- testfooauth.h
- SOURCES += \
- testfooauth.cpp
- target.path = /usr/lib/AccountSetup/bin/
- INSTALLS += target
- ---
- #ifndef TESTFOOAUTH_H
- #define TESTFOOAUTH_H
- #include <SignOn/AuthPluginInterface>
- class TestFooAuth : public AuthPluginInterface
- {
- Q_OBJECT
- Q_INTERFACES(AuthPluginInterface)
- public:
- TestFooAuth(QObject *parent = 0);
- virtual ~TestFooAuth();
- public slots:
- QString type() const;
- QStringList mechanisms() const;
- void cancel ();
- void abort();
- void process (const SignOn::SessionData & inData,
- const QString & mechanism = 0);
- };
- #endif // TESTFOOAUTH_H
- ---
- #include "testfooauth.h"
- TestFooAuth::TestFooAuth(QObject *parent)
- {
- }
- TestFooAuth::~TestFooAuth()
- {
- }
- QString TestFooAuth::type() const
- {
- }
- QStringList TestFooAuth::mechanisms() const
- {
- }
- void TestFooAuth::cancel()
- {
- }
- void TestFooAuth::abort()
- {
- }
- void TestFooAuth::process(const SignOn::SessionData &inData, const QString &mechanism)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement