1 | /* |
2 | * Copyright (C) by Klaas Freitag <freitag@owncloud.com> |
3 | * Copyright (C) by Krzesimir Nowak <krzesimir@endocode.com> |
4 | * |
5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by |
7 | * the Free Software Foundation; either version 2 of the License, or |
8 | * (at your option) any later version. |
9 | * |
10 | * This program is distributed in the hope that it will be useful, but |
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
13 | * for more details. |
14 | */ |
15 | |
16 | #ifndef MIRALL_OWNCLOUD_WIZARD_COMMON_H |
17 | #define MIRALL_OWNCLOUD_WIZARD_COMMON_H |
18 | |
19 | class QVariant; |
20 | class QLabel; |
21 | |
22 | namespace OCC { |
23 | |
24 | namespace WizardCommon { |
25 | |
26 | void setupCustomMedia(const QVariant &variant, QLabel *label); |
27 | QString titleTemplate(); |
28 | QString subTitleTemplate(); |
29 | void initErrorLabel(QLabel *errorLabel); |
30 | |
31 | enum SyncMode { |
32 | SelectiveMode, |
33 | BoxMode |
34 | }; |
35 | |
36 | enum Pages { |
37 | Page_ServerSetup, |
38 | Page_HttpCreds, |
39 | Page_ShibbolethCreds, |
40 | Page_OAuthCreds, |
41 | Page_AdvancedSetup, |
42 | Page_Result |
43 | }; |
44 | |
45 | } // ns WizardCommon |
46 | |
47 | } // namespace OCC |
48 | |
49 | #endif // MIRALL_OWNCLOUD_WIZARD_COMMON_H |
50 | |