Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef CORELIB___NCBIAPP__HPP
2 #define CORELIB___NCBIAPP__HPP
45 #if defined(NCBI_OS_MSWIN) && defined(_UNICODE)
46 # define NcbiSys_main wmain
48 # define NcbiSys_main main
53 #ifdef CNcbiApplication
54 # undef CNcbiApplication
60 #define NCBI_APP_SET_VERSION(major, minor, patch) \
61 SetVersion( CVersionInfo(major,minor,patch, NCBI_TEAMCITY_PROJECT_NAME_PROXY), NCBI_APP_SBUILDINFO_DEFAULT())
67 #define NCBI_APP_SET_VERSION_AUTO(major, minor) NCBI_APP_SET_VERSION(major, minor, NCBI_TEAMCITY_BUILD_NUMBER_PROXY)
Define CVersionInfo, a version info storage class.
static CNcbiApplicationAPI * Instance(void)
Singleton method.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SBUILDINFO_DEFAULT()
#define NCBI_XNCBI_EXPORT
This class allows to add build info (date and tag) to application version.