-rw-r--r-- | library/custom-ipaq.h | 4 | ||||
-rw-r--r-- | library/custom-ramses.h | 7 | ||||
-rw-r--r-- | library/custom-sharp.h | 7 | ||||
-rw-r--r-- | library/custom-simpad.h | 3 | ||||
-rwxr-xr-x | library/custom-yopy.h | 2 |
5 files changed, 0 insertions, 23 deletions
diff --git a/library/custom-ipaq.h b/library/custom-ipaq.h index 8321199..553b571 100644 --- a/library/custom-ipaq.h +++ b/library/custom-ipaq.h | |||
@@ -1,24 +1,20 @@ | |||
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 OPIE_SOUND_FRAGMENT_SHIFT 14 | ||
23 | #define USE_REALTIME_AUDIO_THREAD | ||
24 | #define OPIE_NEW_MALLOC | ||
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 \ |
37 | static void sig_handler(int sig) \ | 30 | static 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 | } \ |
51 | static void initMemalerter() \ | 44 | static void initMemalerter() \ |
diff --git a/library/custom-sharp.h b/library/custom-sharp.h index b0e67b8..9fd63e5 100644 --- a/library/custom-sharp.h +++ b/library/custom-sharp.h | |||
@@ -1,52 +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 | ||
22 | #define QPE_OWNAPM | ||
23 | #define QPE_HAVE_TOGGLELIGHT | ||
24 | #define QPE_NOCIBAUD | 21 | #define QPE_NOCIBAUD |
25 | #define QPE_STARTMENU | ||
26 | #define OPIE_NEW_MALLOC | ||
27 | #define USE_REALTIME_AUDIO_THREAD | ||
28 | #define OPIE_NO_SOUND_PCM_READ_BITS | ||
29 | 22 | ||
30 | #include <asm/sharp_apm.h> | 23 | #include <asm/sharp_apm.h> |
31 | #ifndef APM_IOC_BATTERY_BACK_CHK | 24 | #ifndef APM_IOC_BATTERY_BACK_CHK |
32 | #define APM_IOC_BATTERY_BACK_CHK _IO(APM_IOC_MAGIC, 32) | 25 | #define APM_IOC_BATTERY_BACK_CHK _IO(APM_IOC_MAGIC, 32) |
33 | #endif | 26 | #endif |
34 | #ifndef APM_IOC_BATTERY_MAIN_CHK | 27 | #ifndef APM_IOC_BATTERY_MAIN_CHK |
35 | #define APM_IOC_BATTERY_MAIN_CHK _IO(APM_IOC_MAGIC, 33) | 28 | #define APM_IOC_BATTERY_MAIN_CHK _IO(APM_IOC_MAGIC, 33) |
36 | #endif | 29 | #endif |
37 | 30 | ||
38 | #include <unistd.h> | 31 | #include <unistd.h> |
39 | #include <stdio.h> | 32 | #include <stdio.h> |
40 | #include <signal.h> | 33 | #include <signal.h> |
41 | #include <fcntl.h> | 34 | #include <fcntl.h> |
42 | #include <sys/ioctl.h> | 35 | #include <sys/ioctl.h> |
43 | 36 | ||
44 | 37 | ||
45 | #include <sys/ioctl.h> | 38 | #include <sys/ioctl.h> |
46 | #include <asm/sharp_char.h> | 39 | #include <asm/sharp_char.h> |
47 | 40 | ||
48 | #define QPE_HAVE_MEMALERTER | 41 | #define QPE_HAVE_MEMALERTER |
49 | 42 | ||
50 | #define QPE_MEMALERTER_IMPL \ | 43 | #define QPE_MEMALERTER_IMPL \ |
51 | static void sig_handler(int sig) \ | 44 | static void sig_handler(int sig) \ |
52 | { \ | 45 | { \ |
diff --git a/library/custom-simpad.h b/library/custom-simpad.h index c951296..327475f 100644 --- a/library/custom-simpad.h +++ b/library/custom-simpad.h | |||
@@ -1,9 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * GPLv2 only zecke@handhelds.org | 2 | * GPLv2 only zecke@handhelds.org |
3 | hOlgAr | 3 | hOlgAr |
4 | */ | 4 | */ |
5 | 5 | ||
6 | 6 | ||
7 | #define QPE_NEED_CALIBRATION | ||
8 | #define OPIE_NEW_MALLOC | ||
9 | #define USE_REALTIME_AUDIO_THREAD | ||
diff --git a/library/custom-yopy.h b/library/custom-yopy.h index 510b05b..43d89bc 100755 --- a/library/custom-yopy.h +++ b/library/custom-yopy.h | |||
@@ -1,8 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** | 2 | ** |
3 | ** Customization for Yopy | 3 | ** Customization for Yopy |
4 | ** | 4 | ** |
5 | **********************************************************************/ | 5 | **********************************************************************/ |
6 | 6 | ||
7 | // Don't yet know how to calibrate from Opie | ||
8 | // #define QPE_NEED_CALIBRATION | ||