~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/lib/typedefs.h

  • Committer: Package Import Robot
  • Author(s): Whoopie
  • Date: 2012-03-22 10:29:10 UTC
  • mfrom: (4.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120322102910-tb8hugi2su1tguwh
Tags: 1.0.2-1ubuntu1
* Apply some upstream patches to fix FTBFS (LP: #913018):
  - debian/patches/05_glib_includes.patch: fix glib includes.
  - debian/patches/06_use_XkbKeycodeToKeysym.patch: use 
    XkbKeycodeToKeysym instead of (deprecated) XKeycodeToKeysym.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef TYPEDEFS_H
 
2
#define TYPEDEFS_H
 
3
 
 
4
#include <QtCore/QMetaType>
 
5
#include <QtCore/QMap>
 
6
#include <QVector>
 
7
#include <QtCore/QString>
 
8
 
 
9
typedef QMap<QString, QString> MapStringString;
 
10
typedef QVector< QMap<QString, QString> > VectorMapStringString;
 
11
typedef QMap<QString, int> MapStringInt;
 
12
 
 
13
//Mixe from LIB and GCC website
 
14
#if __GNUC__ >= 4
 
15
   #define LIB_NO_EXPORT __attribute__ ((visibility("hidden")))
 
16
   #define LIB_EXPORT __attribute__ ((visibility("default")))
 
17
   #define LIB_IMPORT __attribute__ ((visibility("default")))
 
18
#elif defined(_WIN32) || defined(_WIN64)
 
19
   #define LIB_NO_EXPORT
 
20
   #define LIB_EXPORT __declspec(dllexport)
 
21
   #define LIB_IMPORT __declspec(dllimport)
 
22
#else
 
23
   #define LIB_NO_EXPORT
 
24
   #define LIB_EXPORT
 
25
   #define LIB_IMPORT
 
26
#endif
 
27
 
 
28
 
 
29
#endif
 
 
b'\\ No newline at end of file'