signon
8.42
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
default-crypto-manager.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) 2011 Canonical Ltd.
6
*
7
* Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public License
11
* version 2.1 as published by the Free Software Foundation.
12
*
13
* This library is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21
* 02110-1301 USA
22
*/
23
24
#include "
default-crypto-manager.h
"
25
26
using namespace
SignonDaemonNS;
27
28
DefaultCryptoManager::DefaultCryptoManager
(QObject *parent):
29
AbstractCryptoManager(parent)
30
{
31
}
32
33
DefaultCryptoManager::~DefaultCryptoManager
()
34
{
35
}
36
37
bool
DefaultCryptoManager::initialize
(
const
QVariantMap &configuration)
38
{
39
m_storagePath = configuration.value(QLatin1String(
"StoragePath"
)).toString();
40
setFileSystemSetup(
true
);
41
setFileSystemMounted(
true
);
42
return
true
;
43
}
44
45
QString
DefaultCryptoManager::fileSystemMountPath
()
const
46
{
47
return
m_storagePath;
48
}
49
src
signond
default-crypto-manager.cpp
Generated on Wed Sep 12 2012 18:26:47 for signon by
1.8.1.2