summaryrefslogtreecommitdiff
path: root/library/custom-ramses.h
Unidiff
Diffstat (limited to 'library/custom-ramses.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/custom-ramses.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/custom-ramses.h b/library/custom-ramses.h
index 5a1abe4..6e94b2d 100644
--- a/library/custom-ramses.h
+++ b/library/custom-ramses.h
@@ -1,51 +1,44 @@
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
22#define QPE_HAVE_TOGGLELIGHT
23#define QPE_STARTMENU
24#define USE_REALTIME_AUDIO_THREAD
25#define OPIE_NEW_MALLOC
26
27
28#include <unistd.h> 21#include <unistd.h>
29#include <stdio.h> 22#include <stdio.h>
30#include <signal.h> 23#include <signal.h>
31#include <fcntl.h> 24#include <fcntl.h>
32#include <sys/ioctl.h> 25#include <sys/ioctl.h>
33 26
34#define QPE_HAVE_MEMALERTER 27#define QPE_HAVE_MEMALERTER
35 28
36#define QPE_MEMALERTER_IMPL \ 29#define QPE_MEMALERTER_IMPL \
37static void sig_handler(int sig) \ 30static void sig_handler(int sig) \
38{ \ 31{ \
39 switch (sig) { \ 32 switch (sig) { \
40 case SIGHUP: \ 33 case SIGHUP: \
41 memstate = VeryLow; \ 34 memstate = VeryLow; \
42 break; \ 35 break; \
43 case SIGUSR1: \ 36 case SIGUSR1: \
44 memstate = Normal; \ 37 memstate = Normal; \
45 break; \ 38 break; \
46 case SIGUSR2: \ 39 case SIGUSR2: \
47 memstate = Low; \ 40 memstate = Low; \
48 break; \ 41 break; \
49 } \ 42 } \
50} \ 43} \
51static void initMemalerter() \ 44static void initMemalerter() \