summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2005-02-01 22:48:12 (UTC)
committer mickeyl <mickeyl>2005-02-01 22:48:12 (UTC)
commit7500adc8443f9044da7773e32742dbae51391bef (patch) (unidiff)
treedf7de21648dcf28e09a475b67e3572c818be77ab /libopie2
parentef4a5ca1b376158bfc26b832333c6908e35d181b (diff)
downloadopie-7500adc8443f9044da7773e32742dbae51391bef.zip
opie-7500adc8443f9044da7773e32742dbae51391bef.tar.gz
opie-7500adc8443f9044da7773e32742dbae51391bef.tar.bz2
add skeleton for oinputsystem classes (thin wrapper of Linux Input Subsystem API)
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oinputsystem.cpp31
-rw-r--r--libopie2/opiecore/oinputsystem.h48
-rw-r--r--libopie2/opiecore/opiecore.pro4
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
31using 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
34namespace Opie {
35namespace Core {
36
37/**
38 * ...
39 *
40 */
41
42class 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 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on 2CONFIG += qt warn_on
3DESTDIR = $(OPIEDIR)/lib 3DESTDIR = $(OPIEDIR)/lib
4HEADERS = oapplication.h \ 4HEADERS = 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
19SOURCES = oapplication.cpp \ 20SOURCES = 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
37CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) 39CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
38!contains( CONFTEST, y ) { 40!contains( CONFTEST, y ) {
39HEADERS += ofilenotify.h 41HEADERS += ofilenotify.h
40SOURCES += ofilenotify.cpp 42SOURCES += 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
45include( device/device.pro ) 47include( device/device.pro )
46 48
47INTERFACES = 49INTERFACES =
48TARGET = opiecore2 50TARGET = opiecore2
49VERSION = 1.9.2 51VERSION = 1.9.3
50INCLUDEPATH += $(OPIEDIR)/include 52INCLUDEPATH += $(OPIEDIR)/include
51DEPENDPATH += $(OPIEDIR)/include 53DEPENDPATH += $(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
58contains( platform, x11 ) { 60contains( platform, x11 ) {
59 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib 61 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
60} 62}
61 63