author | zecke <zecke> | 2003-08-25 14:46:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-08-25 14:46:43 (UTC) |
commit | 292b097e7db25dd231381c5b09307a1fbe81a492 (patch) (unidiff) | |
tree | b103c6c5e15e784dc07af55539672a72559da821 /library/custom-ramses.h | |
parent | 5f292b6e4fc0f4ee8e4bced9a916f6bdce864b6b (diff) | |
download | opie-292b097e7db25dd231381c5b09307a1fbe81a492.zip opie-292b097e7db25dd231381c5b09307a1fbe81a492.tar.gz opie-292b097e7db25dd231381c5b09307a1fbe81a492.tar.bz2 |
-instead of defining for an board we define now what this
boards need
QPE_NEED_CALIBRATE
-launcher is the only one executin application
-allow processing of QCOPfiles after start ( qpeapplication )
-qcopenvelope no longer calls Global::execute
-rw-r--r-- | library/custom-ramses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/custom-ramses.h b/library/custom-ramses.h index b841a66..9104931 100644 --- a/library/custom-ramses.h +++ b/library/custom-ramses.h | |||
@@ -1,44 +1,45 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QPE_NEED_CALIBRATION | ||
21 | #define QPE_HAVE_TOGGLELIGHT | 22 | #define QPE_HAVE_TOGGLELIGHT |
22 | #define QPE_STARTMENU | 23 | #define QPE_STARTMENU |
23 | 24 | ||
24 | #include <unistd.h> | 25 | #include <unistd.h> |
25 | #include <stdio.h> | 26 | #include <stdio.h> |
26 | #include <signal.h> | 27 | #include <signal.h> |
27 | #include <fcntl.h> | 28 | #include <fcntl.h> |
28 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
29 | 30 | ||
30 | #define QPE_HAVE_MEMALERTER | 31 | #define QPE_HAVE_MEMALERTER |
31 | 32 | ||
32 | #define QPE_MEMALERTER_IMPL \ | 33 | #define QPE_MEMALERTER_IMPL \ |
33 | static void sig_handler(int sig) \ | 34 | static void sig_handler(int sig) \ |
34 | { \ | 35 | { \ |
35 | switch (sig) { \ | 36 | switch (sig) { \ |
36 | case SIGHUP: \ | 37 | case SIGHUP: \ |
37 | memstate = VeryLow; \ | 38 | memstate = VeryLow; \ |
38 | break; \ | 39 | break; \ |
39 | case SIGUSR1: \ | 40 | case SIGUSR1: \ |
40 | memstate = Normal; \ | 41 | memstate = Normal; \ |
41 | break; \ | 42 | break; \ |
42 | case SIGUSR2: \ | 43 | case SIGUSR2: \ |
43 | memstate = Low; \ | 44 | memstate = Low; \ |
44 | break; \ | 45 | break; \ |