author | llornkcor <llornkcor> | 2003-05-26 05:03:58 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-26 05:03:58 (UTC) |
commit | 410f657febc2951dbe7d10b30294a4529bd6ac0e (patch) (unidiff) | |
tree | 2358f965a77dc2801d4b0441000b5a93a58fe6b3 | |
parent | 57e35a76319a949cb9c065aabf953645b79e7d96 (diff) | |
download | opie-410f657febc2951dbe7d10b30294a4529bd6ac0e.zip opie-410f657febc2951dbe7d10b30294a4529bd6ac0e.tar.gz opie-410f657febc2951dbe7d10b30294a4529bd6ac0e.tar.bz2 |
remove extra includes
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 6867e82..7af3d8b 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -22,25 +22,24 @@ extern "C" { | |||
22 | #include <sys/time.h> | 22 | #include <sys/time.h> |
23 | #include <sys/types.h> | 23 | #include <sys/types.h> |
24 | #include <unistd.h> | 24 | #include <unistd.h> |
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <sys/stat.h> | 26 | #include <sys/stat.h> |
27 | #include <fcntl.h> | 27 | #include <fcntl.h> |
28 | #include <sys/ioctl.h> | 28 | #include <sys/ioctl.h> |
29 | #include <linux/soundcard.h> | 29 | #include <linux/soundcard.h> |
30 | 30 | ||
31 | #include <string.h> | 31 | #include <string.h> |
32 | #include <stdlib.h> | 32 | #include <stdlib.h> |
33 | #include <errno.h> | 33 | #include <errno.h> |
34 | #include <qtimer.h> | ||
35 | 34 | ||
36 | typedef struct _waveheader { | 35 | typedef struct _waveheader { |
37 | u_long main_chunk; /* 'RIFF' */ | 36 | u_long main_chunk; /* 'RIFF' */ |
38 | u_long length; /* filelen */ | 37 | u_long length; /* filelen */ |
39 | u_long chunk_type; /* 'WAVE' */ | 38 | u_long chunk_type; /* 'WAVE' */ |
40 | u_long sub_chunk; /* 'fmt ' */ | 39 | u_long sub_chunk; /* 'fmt ' */ |
41 | u_long sc_len; /* length of sub_chunk, =16 | 40 | u_long sc_len; /* length of sub_chunk, =16 |
42 | (chunckSize) format len */ | 41 | (chunckSize) format len */ |
43 | u_short format; /* should be 1 for PCM-code (formatTag) */ | 42 | u_short format; /* should be 1 for PCM-code (formatTag) */ |
44 | 43 | ||
45 | u_short modus; /* 1 Mono, 2 Stereo (channels) */ | 44 | u_short modus; /* 1 Mono, 2 Stereo (channels) */ |
46 | u_long sample_fq; /* samples per second (samplesPerSecond) */ | 45 | u_long sample_fq; /* samples per second (samplesPerSecond) */ |
@@ -62,32 +61,27 @@ typedef struct _waveheader { | |||
62 | #define WAVE_STEREO 2 | 61 | #define WAVE_STEREO 2 |
63 | 62 | ||
64 | struct adpcm_state encoder_state; | 63 | struct adpcm_state encoder_state; |
65 | //struct adpcm_state decoder_state; | 64 | //struct adpcm_state decoder_state; |
66 | 65 | ||
67 | #define WAVE_FORMAT_DVI_ADPCM (0x0011) | 66 | #define WAVE_FORMAT_DVI_ADPCM (0x0011) |
68 | #define WAVE_FORMAT_PCM (0x0001) | 67 | #define WAVE_FORMAT_PCM (0x0001) |
69 | 68 | ||
70 | 69 | ||
71 | #include "vmemo.h" | 70 | #include "vmemo.h" |
72 | 71 | ||
73 | #include <qpe/qpeapplication.h> | 72 | #include <qpe/qpeapplication.h> |
74 | #include <qpe/resource.h> | ||
75 | #include <qpe/config.h> | 73 | #include <qpe/config.h> |
76 | 74 | ||
77 | #include <qpainter.h> | 75 | #include <qpainter.h> |
78 | #include <qdatetime.h> | ||
79 | #include <qregexp.h> | ||
80 | #include <qsound.h> | ||
81 | #include <qfile.h> | ||
82 | #include <qmessagebox.h> | 76 | #include <qmessagebox.h> |
83 | 77 | ||
84 | int seq = 0; | 78 | int seq = 0; |
85 | 79 | ||
86 | /* XPM */ | 80 | /* XPM */ |
87 | static char * vmemo_xpm[] = { | 81 | static char * vmemo_xpm[] = { |
88 | "16 16 102 2", | 82 | "16 16 102 2", |
89 | " c None", | 83 | " c None", |
90 | ". c #60636A", | 84 | ". c #60636A", |
91 | "+ c #6E6E72", | 85 | "+ c #6E6E72", |
92 | "@ c #68696E", | 86 | "@ c #68696E", |
93 | "# c #4D525C", | 87 | "# c #4D525C", |