Changeset 37 in tspsg-svn for trunk/src/os.h


Ignore:
Timestamp:
Jul 16, 2009, 6:00:27 PM (15 years ago)
Author:
laleppa
Message:

+ Task save prompt before creating or opening task and closing application if current task was modified.

  • Translation updates.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os.h

    r31 r37  
    2525#define OS_H
    2626
     27#ifdef _WIN64
     28        #define BITS " (64-bit)"
     29#elif defined _WIN32
     30        #define BITS " (32-bit)"
     31#else
     32        #define BITS ""
     33#endif // BITS
     34
    2735#ifdef Q_OS_AIX
    28         #define OS "AIX"
     36        #define OS "AIX"BITS
    2937        #define OSID quint8(1)
    3038#elif defined Q_OS_BSD4
    31         #define OS "BSD 4.4"
     39        #define OS "BSD 4.4"BITS
    3240        #define OSID quint8(2)
    3341#elif defined Q_OS_BSDI
    34         #define OS "BSD/OS"
     42        #define OS "BSD/OS"BITS
    3543        #define OSID quint8(3)
    3644#elif defined Q_OS_CYGWIN
    37         #define OS "Cygwin"
     45        #define OS "Cygwin"BITS
    3846        #define OSID quint8(4)
    3947#elif defined Q_OS_DARWIN
    40         #define OS "Darwin OS"
     48        #define OS "Darwin OS"BITS
    4149        #define OSID quint8(5)
    4250#elif defined Q_OS_DGUX
    43         #define OS "DG/UX"
     51        #define OS "DG/UX"BITS
    4452        #define OSID quint8(6)
    4553#elif defined Q_OS_DYNIX
    46         #define OS "DYNIX/ptx"
     54        #define OS "DYNIX/ptx"BITS
    4755        #define OSID quint8(7)
    4856#elif defined Q_OS_FREEBSD
    49         #define OS "FreeBSD"
     57        #define OS "FreeBSD"BITS
    5058        #define OSID quint8(8)
    5159#elif defined Q_OS_HPUX
    52         #define OS "HP-UX"
     60        #define OS "HP-UX"BITS
    5361        #define OSID quint8(9)
    5462#elif defined Q_OS_HURD
    55         #define OS "GNU Hurd"
     63        #define OS "GNU Hurd"BITS
    5664        #define OSID quint8(10)
    5765#elif defined Q_OS_IRIX
    58         #define OS "SGI Irix"
     66        #define OS "SGI Irix"BITS
    5967        #define OSID quint8(11)
    6068#elif defined Q_OS_LINUX
    61         #define OS "Linux"
     69        #define OS "Linux"BITS
    6270        #define OSID quint8(12)
    6371#elif defined Q_OS_LYNX
    64         #define OS "LynxOS"
     72        #define OS "LynxOS"BITS
    6573        #define OSID quint8(13)
    6674#elif defined Q_OS_MSDOS
    67         #define OS "MS-DOS"
     75        #define OS "MS-DOS"BITS
    6876        #define OSID quint8(14)
    6977#elif defined Q_OS_NETBSD
    70         #define OS "NetBSD"
     78        #define OS "NetBSD"BITS
    7179        #define OSID quint8(15)
    7280#elif defined Q_OS_OS2
    73         #define OS "OS/2"
     81        #define OS "OS/2"BITS
    7482        #define OSID quint8(16)
    7583#elif defined Q_OS_OPENBSD
    76         #define OS "OpenBSD"
     84        #define OS "OpenBSD"BITS
    7785        #define OSID quint8(17)
    7886#elif defined Q_OS_OS2EMX
    79         #define OS "OS/2"
     87        #define OS "OS/2"BITS
    8088        #define OSID quint8(18)
    8189#elif defined Q_OS_OSF
    82         #define OS "HP Tru64 UNIX"
     90        #define OS "HP Tru64 UNIX"BITS
    8391        #define OSID quint8(19)
    8492#elif defined Q_OS_QNX6
    85         #define OS "QNX RTP 6.1"
     93        #define OS "QNX RTP 6.1"BITS
    8694        #define OSID quint8(20)
    8795#elif defined Q_OS_QNX
    88         #define OS "QNX"
     96        #define OS "QNX"BITS
    8997        #define OSID quint8(21)
    9098#elif defined Q_OS_RELIANT
    91         #define OS "Reliant UNIX"
     99        #define OS "Reliant UNIX"BITS
    92100        #define OSID quint8(22)
    93101#elif defined Q_OS_SCO
    94         #define OS "SCO OpenServer 5"
     102        #define OS "SCO OpenServer 5"BITS
    95103        #define OSID quint8(23)
    96104#elif defined Q_OS_SOLARIS
    97         #define OS "Sun Solaris"
     105        #define OS "Sun Solaris"BITS
    98106        #define OSID quint8(24)
    99107#elif defined Q_OS_ULTRIX
    100         #define OS "DEC Ultrix"
     108        #define OS "DEC Ultrix"BITS
    101109        #define OSID quint8(25)
    102110#elif defined Q_OS_UNIX
    103         #define OS "UNIX BSD/SYSV"
     111        #define OS "UNIX BSD/SYSV"BITS
    104112        #define OSID quint8(26)
    105113#elif defined Q_OS_UNIXWARE
    106         #define OS "UnixWare 7/Open UNIX 8"
     114        #define OS "UnixWare 7/Open UNIX 8"BITS
    107115        #define OSID quint8(27)
    108116#elif defined Q_OS_WIN32
    109         #define OS "Windows"
     117        #define OS "Windows"BITS
    110118        #define OSID quint8(28)
    111119#elif defined Q_OS_WINCE
     
    113121        #define OSID quint8(29)
    114122#else
    115         #define OS "Unknown"
     123        #define OS "Unknown"BITS
    116124        #define OSID quint8(255)
    117 #endif
     125#endif // OS
    118126
    119127#endif // OS_H
Note: See TracChangeset for help on using the changeset viewer.