2 Copyright (C) 2008 by Sebastian Trueg <trueg at kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef _NEPOMUK_LEGACY_STORAGE_BRIDGE_H_
20 #define _NEPOMUK_LEGACY_STORAGE_BRIDGE_H_
22 #include <Soprano/Server/ServerCore>
33 * Legacy class which makes sure the old org.kde.NepomukServer
34 * access to the storage service is still valid for
35 * backwards compatibility.
37 * \author Sebastian Trueg <trueg@kde.org>
39 class LegacyStorageBridge
: public Soprano::Server::ServerCore
44 LegacyStorageBridge( QObject
* parent
= 0 );
45 ~LegacyStorageBridge();
48 * Forwards the call to the storage server via the dbus interface.
50 Soprano::Model
* model( const QString
& name
);
53 * Forwards the call to the storage server via the dbus interface.
55 void removeModel( const QString
& name
);
58 * Forwards the call to the storage server via the dbus interface.
60 QStringList
allModels() const;
64 Soprano::Client::DBusClient
* m_client
;