author | mickeyl <mickeyl> | 2005-02-01 22:48:12 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-02-01 22:48:12 (UTC) |
commit | 7500adc8443f9044da7773e32742dbae51391bef (patch) (unidiff) | |
tree | df7de21648dcf28e09a475b67e3572c818be77ab /libopie2 | |
parent | ef4a5ca1b376158bfc26b832333c6908e35d181b (diff) | |
download | opie-7500adc8443f9044da7773e32742dbae51391bef.zip opie-7500adc8443f9044da7773e32742dbae51391bef.tar.gz opie-7500adc8443f9044da7773e32742dbae51391bef.tar.bz2 |
add skeleton for oinputsystem classes (thin wrapper of Linux Input Subsystem API)
-rw-r--r-- | libopie2/opiecore/oinputsystem.cpp | 31 | ||||
-rw-r--r-- | libopie2/opiecore/oinputsystem.h | 48 | ||||
-rw-r--r-- | libopie2/opiecore/opiecore.pro | 4 |
3 files changed, 82 insertions, 1 deletions
diff --git a/libopie2/opiecore/oinputsystem.cpp b/libopie2/opiecore/oinputsystem.cpp new file mode 100644 index 0000000..c33d5c8 --- a/dev/null +++ b/libopie2/opiecore/oinputsystem.cpp | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | This file is part of the Opie Project | ||
3 | =. (C) 2005 Michael 'Mickey' Lauer <mickey@Vanille.de> | ||
4 | .=l. | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This program is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This program is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | */ | ||
28 | |||
29 | #include "oinputsystem.h" | ||
30 | |||
31 | using namespace Opie::Core; | ||
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h new file mode 100644 index 0000000..2bcdc3a --- a/dev/null +++ b/libopie2/opiecore/oinputsystem.h | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | This file is part of the Opie Project | ||
3 | =. (C) 2005 Michael 'Mickey' Lauer <mickey@Vanille.de> | ||
4 | .=l. | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This program is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This program is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | */ | ||
28 | |||
29 | #ifndef OINPUTSYSTEM_H | ||
30 | #define OINPUTSYSTEM_H | ||
31 | |||
32 | #include <qobject.h> | ||
33 | |||
34 | namespace Opie { | ||
35 | namespace Core { | ||
36 | |||
37 | /** | ||
38 | * ... | ||
39 | * | ||
40 | */ | ||
41 | |||
42 | class OInputSystem : public QObject | ||
43 | { | ||
44 | }; | ||
45 | } | ||
46 | } | ||
47 | |||
48 | #endif // OINPUTSYSTEM_H | ||
diff --git a/libopie2/opiecore/opiecore.pro b/libopie2/opiecore/opiecore.pro index f133433..8f76c48 100644 --- a/libopie2/opiecore/opiecore.pro +++ b/libopie2/opiecore/opiecore.pro | |||
@@ -1,61 +1,63 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | DESTDIR = $(OPIEDIR)/lib | 3 | DESTDIR = $(OPIEDIR)/lib |
4 | HEADERS = oapplication.h \ | 4 | HEADERS = oapplication.h \ |
5 | oconfig.h \ | 5 | oconfig.h \ |
6 | odebug.h \ | 6 | odebug.h \ |
7 | oglobal.h \ | 7 | oglobal.h \ |
8 | oglobalsettings.h \ | 8 | oglobalsettings.h \ |
9 | oinputsystem.h \ | ||
9 | okeyconfigmanager.h \ | 10 | okeyconfigmanager.h \ |
10 | okeyfilter.h \ | 11 | okeyfilter.h \ |
11 | opluginloader.h \ | 12 | opluginloader.h \ |
12 | oprocess.h \ | 13 | oprocess.h \ |
13 | oprocctrl.h \ | 14 | oprocctrl.h \ |
14 | osharedpointer.h \ | 15 | osharedpointer.h \ |
15 | osmartpointer.h \ | 16 | osmartpointer.h \ |
16 | ostorageinfo.h \ | 17 | ostorageinfo.h \ |
17 | xmltree.h | 18 | xmltree.h |
18 | 19 | ||
19 | SOURCES = oapplication.cpp \ | 20 | SOURCES = oapplication.cpp \ |
20 | oconfig.cpp \ | 21 | oconfig.cpp \ |
21 | odebug.cpp \ | 22 | odebug.cpp \ |
22 | oglobal.cpp \ | 23 | oglobal.cpp \ |
23 | oglobalsettings.cpp \ | 24 | oglobalsettings.cpp \ |
25 | oinputsystem.cpp \ | ||
24 | okeyconfigmanager.cpp \ | 26 | okeyconfigmanager.cpp \ |
25 | okeyfilter.cpp \ | 27 | okeyfilter.cpp \ |
26 | opluginloader.cpp \ | 28 | opluginloader.cpp \ |
27 | oprocess.cpp \ | 29 | oprocess.cpp \ |
28 | oprocctrl.cpp \ | 30 | oprocctrl.cpp \ |
29 | osmartpointer.cpp \ | 31 | osmartpointer.cpp \ |
30 | ostorageinfo.cpp \ | 32 | ostorageinfo.cpp \ |
31 | xmltree.cpp | 33 | xmltree.cpp |
32 | 34 | ||
33 | 35 | ||
34 | # The following files are currently not compileable on mac ! | 36 | # The following files are currently not compileable on mac ! |
35 | # Therfore I removed them from the build .. (eilers) | 37 | # Therfore I removed them from the build .. (eilers) |
36 | 38 | ||
37 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) | 39 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) |
38 | !contains( CONFTEST, y ) { | 40 | !contains( CONFTEST, y ) { |
39 | HEADERS += ofilenotify.h | 41 | HEADERS += ofilenotify.h |
40 | SOURCES += ofilenotify.cpp | 42 | SOURCES += ofilenotify.cpp |
41 | } else { | 43 | } else { |
42 | message( "ofilenotify is not available in a mac build !" ) | 44 | message( "ofilenotify is not available in a mac build !" ) |
43 | } | 45 | } |
44 | 46 | ||
45 | include( device/device.pro ) | 47 | include( device/device.pro ) |
46 | 48 | ||
47 | INTERFACES = | 49 | INTERFACES = |
48 | TARGET = opiecore2 | 50 | TARGET = opiecore2 |
49 | VERSION = 1.9.2 | 51 | VERSION = 1.9.3 |
50 | INCLUDEPATH += $(OPIEDIR)/include | 52 | INCLUDEPATH += $(OPIEDIR)/include |
51 | DEPENDPATH += $(OPIEDIR)/include | 53 | DEPENDPATH += $(OPIEDIR)/include |
52 | 54 | ||
53 | !contains( platform, x11 ) { | 55 | !contains( platform, x11 ) { |
54 | LIBS = -lqpe | 56 | LIBS = -lqpe |
55 | include( $(OPIEDIR)/include.pro ) | 57 | include( $(OPIEDIR)/include.pro ) |
56 | } | 58 | } |
57 | 59 | ||
58 | contains( platform, x11 ) { | 60 | contains( platform, x11 ) { |
59 | LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib | 61 | LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib |
60 | } | 62 | } |
61 | 63 | ||