2012-12-14 00:36:44 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) by Klaas Freitag <freitag@owncloud.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; version 2 of the License.
|
|
|
|
*
|
|
|
|
* 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 UTILITY_H
|
|
|
|
#define UTILITY_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include <QByteArray>
|
|
|
|
|
|
|
|
namespace Mirall {
|
|
|
|
|
|
|
|
|
|
|
|
class Utility
|
|
|
|
{
|
|
|
|
public:
|
2013-01-21 16:28:19 +04:00
|
|
|
static QString formatFingerprint( const QByteArray& );
|
2013-03-21 15:01:37 +04:00
|
|
|
static void setupFavLink( const QString &folder );
|
2013-05-28 21:35:30 +04:00
|
|
|
static QString platform();
|
2013-05-29 18:13:38 +04:00
|
|
|
static QByteArray userAgentString();
|
2012-12-14 00:36:44 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif // UTILITY_H
|