| 1 | /* |
| 2 | * This file is part of lomiri-online-accounts-ui |
| 3 | * |
| 4 | * Copyright (C) 2014 Canonical Ltd. |
| 5 | * |
| 6 | * Contact: Alberto Mardegan <[email protected]> |
| 7 | * |
| 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. |
| 11 | * |
| 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. |
| 16 | * |
| 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/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef SIGNON_UI_DIALOG_REQUEST_H |
| 22 | #define SIGNON_UI_DIALOG_REQUEST_H |
| 23 | |
| 24 | #include "signonui-request.h" |
| 25 | |
| 26 | #include <QObject> |
| 27 | |
| 28 | namespace SignOnUi { |
| 29 | |
| 30 | class DialogRequestPrivate; |
| 31 | |
| 32 | class DialogRequest: public Request |
| 33 | { |
| 34 | Q_OBJECT |
| 35 | |
| 36 | public: |
| 37 | explicit DialogRequest(int id, |
| 38 | const QString &clientProfile, |
| 39 | const QVariantMap ¶meters, |
| 40 | QObject *parent = 0); |
| 41 | ~DialogRequest(); |
| 42 | |
| 43 | // reimplemented virtual methods |
| 44 | void start(); |
| 45 | |
| 46 | private: |
| 47 | DialogRequestPrivate *d_ptr; |
| 48 | Q_DECLARE_PRIVATE(DialogRequest) |
| 49 | }; |
| 50 | |
| 51 | } // namespace |
| 52 | |
| 53 | #endif // SIGNON_UI_DIALOG_REQUEST_H |
| 54 |