www.pudn.com > kceasy-0.19-rc1-src.rar > Brand.h
/* This file is part of KCeasy (http://www.kceasy.com) Copyright (C) 2002-2004 Markus KernThis 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 #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