signon  8.58
default-crypto-manager.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /*
00003  * This file is part of signon
00004  *
00005  * Copyright (C) 2011 Canonical Ltd.
00006  *
00007  * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public License
00011  * version 2.1 as published by the Free Software Foundation.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00021  * 02110-1301 USA
00022  */
00023 
00030 #ifndef SIGNON_DEFAULT_CRYPTO_MANAGER_H
00031 #define SIGNON_DEFAULT_CRYPTO_MANAGER_H
00032 
00033 #include "SignOn/abstract-crypto-manager.h"
00034 
00035 #include <QObject>
00036 
00037 namespace SignonDaemonNS {
00038 
00047 class DefaultCryptoManager: public SignOn::AbstractCryptoManager
00048 {
00049     Q_OBJECT
00050 
00051 public:
00052     explicit DefaultCryptoManager(QObject *parent = 0);
00053     ~DefaultCryptoManager();
00054 
00055     /* reimplemented virtual methods */
00056     virtual bool initialize(const QVariantMap &configuration);
00057     QString fileSystemMountPath() const;
00058 
00059 private:
00060     QString m_storagePath;
00061 };
00062 
00063 } //namespace
00064 
00065 #endif // SIGNON_DEFAULT_CRYPTO_MANAGER_H