2013-07-22 16:54:14 +04:00
|
|
|
/*
|
2013-07-30 12:48:26 +04:00
|
|
|
* Copyright (C) by Klaas Freitag <freitag@owncloud.com>
|
2013-07-22 16:54:14 +04:00
|
|
|
* Copyright (C) by Krzesimir Nowak <krzesimir@endocode.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MIRALL_OWNCLOUD_WIZARD_COMMON_H
|
|
|
|
#define MIRALL_OWNCLOUD_WIZARD_COMMON_H
|
|
|
|
|
|
|
|
class QVariant;
|
|
|
|
class QLabel;
|
|
|
|
|
2014-11-10 00:34:07 +03:00
|
|
|
namespace OCC
|
2013-07-22 16:54:14 +04:00
|
|
|
{
|
|
|
|
|
|
|
|
namespace WizardCommon
|
|
|
|
{
|
|
|
|
|
|
|
|
void setupCustomMedia( const QVariant& variant, QLabel *label );
|
|
|
|
QString titleTemplate();
|
|
|
|
QString subTitleTemplate();
|
|
|
|
void initErrorLabel(QLabel* errorLabel);
|
|
|
|
|
|
|
|
enum AuthType {
|
|
|
|
HttpCreds,
|
|
|
|
Shibboleth
|
|
|
|
};
|
|
|
|
|
|
|
|
enum SyncMode {
|
|
|
|
SelectiveMode,
|
|
|
|
BoxMode
|
|
|
|
};
|
|
|
|
|
|
|
|
enum Pages {
|
2013-07-31 17:46:41 +04:00
|
|
|
Page_ServerSetup,
|
2013-07-22 16:54:14 +04:00
|
|
|
Page_HttpCreds,
|
2013-07-29 16:28:45 +04:00
|
|
|
Page_ShibbolethCreds,
|
2013-07-31 17:46:41 +04:00
|
|
|
Page_AdvancedSetup,
|
2013-07-22 16:54:14 +04:00
|
|
|
Page_Result
|
|
|
|
};
|
|
|
|
|
|
|
|
} // ns WizardCommon
|
|
|
|
|
2014-11-10 00:34:07 +03:00
|
|
|
} // namespace OCC
|
2013-07-22 16:54:14 +04:00
|
|
|
|
|
|
|
#endif // MIRALL_OWNCLOUD_WIZARD_COMMON_H
|