39 lines
565 B
C++
39 lines
565 B
C++
/*
|
|
* \brief Helper to get build date and time.
|
|
*
|
|
* \copyright Copyright (c) 2014-2018 Governikus GmbH & Co. KG, Germany
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QtGlobal>
|
|
|
|
namespace governikus
|
|
{
|
|
|
|
class BuildHelper
|
|
{
|
|
private:
|
|
static const char* mDateTime;
|
|
BuildHelper() = delete;
|
|
~BuildHelper() = delete;
|
|
|
|
public:
|
|
static const char* getDateTime()
|
|
{
|
|
return mDateTime;
|
|
}
|
|
|
|
|
|
#ifdef Q_OS_ANDROID
|
|
static int getVersionCode();
|
|
static int getVersionCode(const QString& pPackageName);
|
|
static QString getPackageName();
|
|
|
|
#endif
|
|
|
|
|
|
};
|
|
|
|
} /* namespace governikus */
|