author | sandman <sandman> | 2002-06-27 01:39:00 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-27 01:39:00 (UTC) |
commit | ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc (patch) (side-by-side diff) | |
tree | ac60a3f150442a35d13fbe90733a70f891c81a28 | |
parent | a86c09e8a12b504471ffeb8966e34a79dd8518b5 (diff) | |
download | opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.zip opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.tar.gz opie-ed8d1696ca8f0407cb7e6b91cc8d410dede5ccdc.tar.bz2 |
Including kernel headers in user space apps is bad .. just copy the defines
(There were problems with some toolchain configurations)
-rw-r--r-- | library/qpeapplication.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 87a9739..76d62ef 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -27,49 +27,60 @@ #ifndef QT_NO_COP #if QT_VERSION <= 231 #define private public #define sendLocally processEvent #include "qcopenvelope_qws.h" #undef private #else #include "qcopenvelope_qws.h" #endif #endif #include <qwindowsystem_qws.h> #endif #include <qtextstream.h> #include <qpalette.h> #include <qbuffer.h> #include <qptrdict.h> #include <qregexp.h> #include <qdir.h> #include <qlabel.h> #include <qdialog.h> #include <qdragobject.h> #include <qevent.h> #include <qtooltip.h> #include <qsignal.h> -#include <linux/fb.h> + + +//#include <linux/fb.h> better not rely on kernel headers in userspace ... + +/* VESA Blanking Levels */ +#define VESA_NO_BLANKING 0 +#define VESA_VSYNC_SUSPEND 1 +#define VESA_HSYNC_SUSPEND 2 +#define VESA_POWERDOWN 3 + +#define FBIOBLANK 0x4611 + #include <qsignal.h> #include "qpeapplication.h" #include "qpestyle.h" #if QT_VERSION >= 300 #include <qstylefactory.h> #else #include <qplatinumstyle.h> #include <qwindowsstyle.h> #include <qmotifstyle.h> #include <qmotifplusstyle.h> #include "lightstyle.h" #endif #include "global.h" #include "resource.h" #if QT_VERSION <= 230 && defined(QT_NO_CODECS) #include "qutfcodec.h" #endif #include "config.h" #include "network.h" #include "fontmanager.h" #include "fontdatabase.h" #include "power.h" |