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 #include "cryptsetup-plugin.h" 00026 #include "crypto-manager.h" 00027 00028 #include <QDebug> 00029 00030 using namespace SignOn; 00031 00032 CryptsetupPlugin::CryptsetupPlugin(): 00033 QObject(0) 00034 { 00035 setObjectName(QLatin1String("cryptsetup")); 00036 } 00037 00038 AbstractCryptoManager *CryptsetupPlugin::cryptoManager(QObject *parent) const 00039 { 00040 qDebug() << Q_FUNC_INFO; 00041 return new CryptoManager(parent); 00042 } 00043 00044 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 00045 Q_EXPORT_PLUGIN2(cryptsetup, CryptsetupPlugin); 00046 #endif