Changeset 162d5c5f94 in tspsg for src/globals.h


Ignore:
Timestamp:
Mar 1, 2010, 2:13:23 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
f19df0a3e5
Parents:
278bc7818f
Message:
  • Fixed some wrong defines that prevented successful compilation under *nix.
  • Renamed i18n to l10n to follow common standards.
  • Translation and documentation paths are now synchronized between .pro and source.
  • Moved some versioning information to .pro file.
  • Updated translations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    r278bc7818f r162d5c5f94  
    3939// TSPSG Defaults
    4040#include "defaults.h"
    41 // Vista/7 Eyecandy
    42 #include "qtwin.h"
     41#ifdef Q_OS_WIN32
     42        // Vista/7 Eyecandy
     43        #include "qtwin.h"
     44#endif // Q_OS_WIN32
    4345
    4446// DEFINES
     
    5052// Paths
    5153/*!
    52  * \def PATH_I18N
     54 * \def PATH_L10N
    5355 * \brief Bath to internationalization files.
    5456 */
     57#ifndef PATH_L10N
     58        #define PATH_L10N "l10n"
     59#endif // PATH_L10N
    5560/*!
    5661 * \def PATH_DOCS
    5762 * \brief Bath to documentation files.
    5863 */
    59 #if defined(Q_OS_LINUX) || (defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN))
    60         #define PATH_I18N "/usr/share/tspsg/i18n"
    61         #define PATH_DOCS "/usr/share/doc/tspsg"
    62 #else
    63         #define PATH_I18N "i18n"
     64#ifndef PATH_DOCS
    6465        #define PATH_DOCS "help"
    65 #endif // Q_OS_LINUX
     66#endif // PATH_DOCS
    6667
    6768//! TSPSG Task file signature - letters \c TSPT
Note: See TracChangeset for help on using the changeset viewer.