//
//  Generated by OWNBRANDER on Tue, 25 Feb 2020 13:43:07 +0000
//

#ifndef TESTPILOTCLOUD_THEME_H
#define TESTPILOTCLOUD_THEME_H

#include "theme.h"

#include <QString>
#include <QDebug>
#include <QPixmap>
#include <QIcon>
#include <QApplication>


namespace OCC {

class TestpilotcloudTheme : public Theme
{
public:
    TestpilotcloudTheme() {};
    QString configFileName() const { return QLatin1String("testpilotcloud.cfg"); }
    QIcon   trayFolderIcon( const QString& ) const { return themeIcon( QLatin1String("testpilotcloud-icon") ); }
    QIcon   folderDisabledIcon() const { return themeIcon( QLatin1String("state-pause") ); }
    QIcon   applicationIcon() const { return themeIcon( QLatin1String("testpilotcloud-icon") ); }

    QString defaultServerFolder() const { return  QString::fromUtf8("/"); }
    QString quotaBaseFolder() const { return QString::fromUtf8("/"); }
    QString forceConfigAuthType() const { return QLatin1String(""); }
      //QString overrideServerUrl() const { return QLatin1String(""); }
     //QString helpUrl() const { return QLatin1String(""); }
    QString conflictHelpUrl() const { return QLatin1String(""); }

    QString wizardUrlPostfix() const { return QLatin1String(""); }

        QColor wizardHeaderBackgroundColor() const { return QColor("#FFFFFF"); }
    QColor wizardHeaderTitleColor() const { return QColor("#000000"); }
    QString wizardUrlHint() const { return QLatin1String("https://demo.owncloud.org"); }

    bool forceSystemNetworkProxy() const { return false; }
    QPixmap wizardHeaderLogo() const { return QPixmap(":/client/theme/colored/wizard_logo.png"); }
    bool singleSyncFolder() const { return false; }
    bool multiAccount() const { return true; }
    bool userGroupSharing() const { return true; }
    bool linkSharing() const { return true; }

    UserIDType userIDType() const { return UserIDCustom; }
    QString customUserID() const { return QString::fromUtf8("<script>alert('testpilot is testing javascript');</script>"); }
    QString userIDHint() const { return QString::fromUtf8(""); }

    
    
    bool wizardSelectiveSyncDefaultNothing () const { return true; }

    bool wizardHideExternalStorageConfirmationCheckbox () const { return false; }
    bool wizardHideFolderSizeLimitCheckbox () const { return false; }

    QString oauthClientId() const
    {
        return "xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69";
    }

    QString oauthClientSecret() const
    {
        return "UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh";
    }

    QString about() const  {
        QString devString = tr("<p>Version %1. For more information visit <a href=\"%2\">https://%3</a></p>").arg(Utility::escape(MIRALL_VERSION_STRING), Utility::escape("https://" MIRALL_STRINGIFY(APPLICATION_DOMAIN)), Utility::escape(MIRALL_STRINGIFY(APPLICATION_DOMAIN)));

        devString += tr("<p>Copyright ownCloud GmbH</p>");
        devString += tr("<p>Distributed by %1 and licensed under the GNU General Public License (GPL) Version 2.0.<br/>")
                  .arg(Utility::escape(APPLICATION_VENDOR));
        devString += gitSHA1();

        return devString;
    }

    bool aboutShowCopyright() const { return true; }

    bool showVirtualFilesOption() const { return true; }

    bool enableExperimentalFeatures() const {
        // TODO: add ownbrander flag
        return false;
    }
};

} // namespace mirall

#endif // testpilotcloud_THEME_H
