signon
8.58
|
00001 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of signon 00004 * 00005 * Copyright (C) 2010 Nokia Corporation. 00006 * 00007 * Contact: Aurel Popirtac <ext-aurel.popirtac@nokia.com> 00008 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com> 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public License 00012 * version 2.1 as published by the Free Software Foundation. 00013 * 00014 * This library is distributed in the hope that it will be useful, but 00015 * WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00022 * 02110-1301 USA 00023 */ 00024 00025 #ifndef CRYPTSETUP_PLUGIN_H 00026 #define CRYPTSETUP_PLUGIN_H 00027 00028 #include <QObject> 00029 #include <SignOn/ExtensionInterface> 00030 00031 class CryptsetupPlugin: public QObject, public SignOn::ExtensionInterface3 00032 { 00033 Q_OBJECT 00034 Q_INTERFACES(SignOn::ExtensionInterface3) 00035 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) 00036 Q_PLUGIN_METADATA(IID "com.nokia.SingleSignOn.ExtensionInterface/3.0") 00037 #endif 00038 00039 public: 00040 CryptsetupPlugin(); 00041 00042 // reimplemented methods 00043 SignOn::AbstractCryptoManager *cryptoManager(QObject *parent = 0) const; 00044 }; 00045 00046 #endif // CRYPTSETUP_PLUGIN_H 00047