signon 8.54

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

cryptsetup-plugin.cpp
Go to the documentation of this file.
1 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of signon
4 *
5 * Copyright (C) 2010 Nokia Corporation.
6 *
7 * Contact: Aurel Popirtac <ext-aurel.popirtac@nokia.com>
8 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public License
12 * version 2.1 as published by the Free Software Foundation.
13 *
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 * 02110-1301 USA
23 */
24
25 #include "cryptsetup-plugin.h"
26 #include "crypto-manager.h"
27
28 #include <QDebug>
29
30 using namespace SignOn;
31
32 CryptsetupPlugin::CryptsetupPlugin():
33 QObject(0)
34 {
35 setObjectName(QLatin1String("cryptsetup"));
36 }
37
38 AbstractCryptoManager *CryptsetupPlugin::cryptoManager(QObject *parent) const
39 {
40 qDebug() << Q_FUNC_INFO;
41 return new CryptoManager(parent);
42 }
43
44 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
45 Q_EXPORT_PLUGIN2(cryptsetup, CryptsetupPlugin);
46 #endif
CryptoManager
Encrypted file system manager.
Definition: crypto-manager.h:45
CryptsetupPlugin::CryptsetupPlugin
CryptsetupPlugin()
Definition: cryptsetup-plugin.cpp:32
CryptsetupPlugin::cryptoManager
SignOn::AbstractCryptoManager * cryptoManager(QObject *parent=0) const
Definition: cryptsetup-plugin.cpp:38
crypto-manager.h
cryptsetup-plugin.h
CryptsetupPlugin
Definition: cryptsetup-plugin.h:31