2
* Copyright (C) 2014 Canonical Ltd.
4
* Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
6
* This file is part of online-accounts-ui
8
* This program is free software: you can redistribute it and/or modify it
9
* under the terms of the GNU General Public License version 3, as published
10
* by the Free Software Foundation.
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranties of
14
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15
* PURPOSE. See the GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License along
18
* with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef OAU_UI_PROXY_H
22
#define OAU_UI_PROXY_H
25
#include <QVariantMap>
27
namespace OnlineAccountsUi {
32
class UiProxy: public QObject
37
explicit UiProxy(QObject *parent = 0);
41
void handleRequest(Request *request);
42
bool hasHandlerFor(const QVariantMap ¶meters);
48
UiProxyPrivate *d_ptr;
49
Q_DECLARE_PRIVATE(UiProxy)
54
#endif // OAU_UI_PROXY_H