📄 brand.h
字号:
/*
This file is part of KCeasy (http://www.kceasy.com)
Copyright (C) 2002-2004 Markus Kern <mkern@kceasy.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 BrandH
#define BrandH
#include <Graphics.hpp>
#include "istring.h"
//---------------------------------------------------------------------------
#include "kceasy.rc"
//---------------------------------------------------------------------------
using namespace KCeasyEngine;
class TBrand
{
public:
static TBrand* Create();
~TBrand();
// returns application version
unsigned int GetMajorVersion();
unsigned int GetMinorVersion();
AnsiString GetExtraVersion();
AnsiString GetVersionString();
AnsiString GetBuildDate();
// returns "app={AppName}&version=x.y-z"
string GetUrlSignature();
// auto update check url
string GetAutoUpdateUrl();
// url for getting available banlist and node files
string GetBanlistUpdateUrl();
// returns application name, eg.g "KCeasy"
AnsiString GetAppName();
// returns string with all instances of "{AppName}" replaced by application name
AnsiString ReplaceAppName(const AnsiString& Str);
WideString ReplaceAppName(const WideString& Str);
// returns application website and contact email
AnsiString GetAppWebsite();
AnsiString GetSupportEmail();
AnsiString GetOnlineHelpUrl();
// returns 48x53 pixel logo with gray background
// used in AboutForm, AutoUpdateForm
TPicture* GetLogo48Gray();
// returns 48x53 pixel logo with white background
// used in ConfigWizardForm
TPicture* GetLogo48White();
protected:
TBrand();
};
#endif // BrandH
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -