Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef ACCOUNTSCOMMON_H_
00024 #define ACCOUNTSCOMMON_H_
00025
00026 #ifdef BUILDING_ACCOUNTS_QT
00027
00028
00029
00030 #ifdef TRACE
00031 #undef TRACE
00032 #endif
00033
00034 #include <QDebug>
00035
00036 #define TRACE() qDebug() << __FILE__ ":" << __LINE__ << __func__
00037
00038
00039
00040 #ifdef ASCII
00041 #undef ASCII
00042 #endif
00043 #define ASCII(s) QLatin1String(s)
00044
00045 #ifdef UTF8
00046 #undef UTF8
00047 #endif
00048 #define UTF8(s) QString::fromUtf8(s)
00049
00050
00051 #if __GNUC__ >= 4
00052 #define ACCOUNTS_EXPORT __attribute__ ((visibility("default")))
00053 #endif
00054
00055 #endif // BUILDING_ACCOUNTS_QT
00056
00057 #ifndef ACCOUNTS_EXPORT
00058 #define ACCOUNTS_EXPORT
00059 #endif
00060
00061 #endif