summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/libmail/zaurusstuff.cpp
authorconber <conber>2002-06-19 13:34:53 (UTC)
committer conber <conber>2002-06-19 13:34:53 (UTC)
commit94f27897d74d0553bb7a5614f7da0603d490533e (patch) (unidiff)
treefc2ffb20c9fe28db34050a94830595e0d2b3d8a8 /noncore/unsupported/mail2/libmail/zaurusstuff.cpp
parent6eed7b58b02de6efb49a67f3da3dabbd3aeaa27b (diff)
downloadopie-94f27897d74d0553bb7a5614f7da0603d490533e.zip
opie-94f27897d74d0553bb7a5614f7da0603d490533e.tar.gz
opie-94f27897d74d0553bb7a5614f7da0603d490533e.tar.bz2
removed zaurusstuff
Diffstat (limited to 'noncore/unsupported/mail2/libmail/zaurusstuff.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/libmail/zaurusstuff.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/noncore/unsupported/mail2/libmail/zaurusstuff.cpp b/noncore/unsupported/mail2/libmail/zaurusstuff.cpp
deleted file mode 100644
index bbf1541..0000000
--- a/noncore/unsupported/mail2/libmail/zaurusstuff.cpp
+++ b/dev/null
@@ -1,38 +0,0 @@
1#include <sys/ioctl.h>
2#include <fcntl.h>
3#include <stdio.h>
4
5#include "zaurusstuff.h"
6#include "sharp_char.h"
7
8ZaurusStuff::ZaurusStuff() : QObject()
9{
10
11}
12
13void ZaurusStuff::blinkLedOn()
14{
15 sharp_led_status st;
16 st.which = SHARP_LED_COLLIE_1;
17 st.status = LED_COLLIE_1_FLASHON;
18 ioctl(open("/dev/sharp_led", O_WRONLY), SHARP_LED_SETSTATUS, &st);
19}
20
21void ZaurusStuff::blinkLedOff()
22{
23 sharp_led_status st;
24 st.which = SHARP_LED_COLLIE_1;
25 st.status = LED_COLLIE_1_DEFAULT;
26 ioctl(open("/dev/sharp_led", O_WRONLY), SHARP_LED_SETSTATUS, &st);
27}
28
29void ZaurusStuff::buzzerOn()
30{
31 ioctl(open("/dev/sharp_buz", O_WRONLY), SHARP_BUZZER_MAKESOUND, 4);
32}
33
34void ZaurusStuff::buzzerOff()
35{
36
37}
38