Changeset 45 in tspsg-svn for trunk/src/version.h


Ignore:
Timestamp:
Aug 2, 2009, 1:50:14 AM (15 years ago)
Author:
laleppa
Message:

+ Wait Cursor (a.k.a Hourglass) while application starts.
+ Open file, passed as command-line argument.

  • Renamed all resources to have lowercase names.
  • Application couldn't be built on Qt < 4.5, because it has no QTextDocumentWriter class. Made a workaround.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/version.h

    • Property svn:keywords set to Id URL
    r42 r45  
    2727#define BUILD_VERSION_MAJOR 0
    2828#define BUILD_VERSION_MINOR 1
    29 #define BUILD_RELEASE 1
    30 // Will stick this to revision
    31 #define BUILD_NUMBER 42
    32 #define BUILD_STATUS "alpha 1"
     29#define BUILD_RELEASE 2
     30// This will only change on releases and will be the same as revision number
     31#define BUILD_NUMBER 65535
     32// Release number meanings:
     33//   1  --  3: alpha 1 to 3
     34//   4  --  7: beta 1 to 4
     35//   8  -- 10: rc 1 to 3
     36//   11 --...: release 1 to ...
     37#if BUILD_NUMBER == 65535
     38        #define BUILD_STATUS (dev build)
     39#elif BUILD_RELEASE < 4
     40        #define BUILD_STATUS (alpha)
     41#elif BUILD_RELEASE < 8
     42        #define BUILD_STATUS (beta)
     43#elif BUILD_RELEASE < 11
     44        #define BUILD_STATUS (rc)
     45#endif // BUILD_NUMBER == 65535
    3346
    3447// "Converting" number to string
     
    3649#define QUOTE(x) QUOTE_X(x)
    3750
    38 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE)
     51#ifndef BUILD_STATUS
     52        #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE)
     53#else
     54        #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)
     55#endif
    3956
    4057#endif // VERSION_H
Note: See TracChangeset for help on using the changeset viewer.