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
00027 #ifndef ACCOUNTSCOMMON_H_
00028 #define ACCOUNTSCOMMON_H_
00029
00030 #ifdef BUILDING_ACCOUNTS_QT
00031
00032
00033
00034 #ifdef TRACE
00035 #undef TRACE
00036 #endif
00037
00038 #include <QDebug>
00039
00040 #define TRACE() qDebug() << __FILE__ ":" << __LINE__ << __func__
00041
00042
00043
00044 #ifdef ASCII
00045 #undef ASCII
00046 #endif
00047 #define ASCII(s) QLatin1String(s)
00048
00049 #ifdef UTF8
00050 #undef UTF8
00051 #endif
00052 #define UTF8(s) QString::fromUtf8(s)
00053
00054
00055 #if __GNUC__ >= 4
00056 #define ACCOUNTS_EXPORT __attribute__ ((visibility("default")))
00057 #endif
00058
00059 #endif // BUILDING_ACCOUNTS_QT
00060
00061 #ifndef ACCOUNTS_EXPORT
00062 #define ACCOUNTS_EXPORT
00063 #endif
00064
00065 #endif