author | mickeyl <mickeyl> | 2005-04-27 17:36:57 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-04-27 17:36:57 (UTC) |
commit | de20c0fd9df84ec55408fceb3df416e45e1df7d5 (patch) (unidiff) | |
tree | 31e9257bae568264daa05ea563c9ee041dd56d1b | |
parent | 90eab99ca45af9b0c9dc0d8eaa049a7d8e4b0f15 (diff) | |
download | opie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.zip opie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.tar.gz opie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.tar.bz2 |
add hotplug-qcop skeleton
-rw-r--r-- | config.in | 1 | ||||
-rw-r--r-- | core/tools/hotplug-qcop/config.in | 5 | ||||
-rw-r--r-- | core/tools/hotplug-qcop/hotplug-qcop.pro | 16 | ||||
-rw-r--r-- | core/tools/hotplug-qcop/main.cpp | 45 | ||||
-rw-r--r-- | packages | 1 |
5 files changed, 68 insertions, 0 deletions
@@ -196,8 +196,9 @@ menu "Base" | |||
196 | source rsync/config.in | 196 | source rsync/config.in |
197 | source core/opie-login/config.in | 197 | source core/opie-login/config.in |
198 | source core/opiealarm/config.in | 198 | source core/opiealarm/config.in |
199 | source core/tools/quicklauncher/config.in | 199 | source core/tools/quicklauncher/config.in |
200 | source core/tools/hotplug-qcop/config.in | ||
200 | source core/launcher/config.in | 201 | source core/launcher/config.in |
201 | source core/symlinker/config.in | 202 | source core/symlinker/config.in |
202 | endmenu | 203 | endmenu |
203 | 204 | ||
diff --git a/core/tools/hotplug-qcop/config.in b/core/tools/hotplug-qcop/config.in new file mode 100644 index 0000000..79abb6a --- a/dev/null +++ b/core/tools/hotplug-qcop/config.in | |||
@@ -0,0 +1,5 @@ | |||
1 | config HOTPLUG_QCOP | ||
2 | boolean "The HotPlug -> QCop Event Bridge" | ||
3 | default "y" | ||
4 | depends ( LIBQPE || LIBQPE-X11 ) | ||
5 | |||
diff --git a/core/tools/hotplug-qcop/hotplug-qcop.pro b/core/tools/hotplug-qcop/hotplug-qcop.pro new file mode 100644 index 0000000..4ab7e03 --- a/dev/null +++ b/core/tools/hotplug-qcop/hotplug-qcop.pro | |||
@@ -0,0 +1,16 @@ | |||
1 | TEMPLATE= app | ||
2 | CONFIG += qt warn_on | ||
3 | DESTDIR = $(OPIEDIR)/bin | ||
4 | |||
5 | HEADERS = | ||
6 | SOURCES = main.cpp | ||
7 | INTERFACES= | ||
8 | |||
9 | INCLUDEPATH+= $(OPIEDIR)/include | ||
10 | LIBS += -lqpe | ||
11 | |||
12 | TARGET = hotplug-qcop | ||
13 | VERSION = 0.0.0 | ||
14 | AUTHOR = Michael 'Mickey' Lauer <mickey@Vanille.de> | ||
15 | |||
16 | include( $(OPIEDIR)/include.pro ) | ||
diff --git a/core/tools/hotplug-qcop/main.cpp b/core/tools/hotplug-qcop/main.cpp new file mode 100644 index 0000000..bd5431d --- a/dev/null +++ b/core/tools/hotplug-qcop/main.cpp | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | This file is part of the Opie Project | ||
3 | (C) 2005 Michael 'Mickey' Lauer <mickey@Vanille.de> | ||
4 | =. | ||
5 | .=l. | ||
6 | .>+-= | ||
7 | _;:, .> :=|. This program is free software; you can | ||
8 | .> <`_, > . <= redistribute it and/or modify it under | ||
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
10 | .="- .-=="i, .._ License as published by the Free Software | ||
11 | - . .-<_> .<> Foundation; version 2 of the License. | ||
12 | ._= =} : | ||
13 | .%`+i> _;_. | ||
14 | .i_,=:_. -<s. This program is distributed in the hope that | ||
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
16 | : .. .:, . . . without even the implied warranty of | ||
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
19 | ..}^=.= = ; Library General Public License for more | ||
20 | ++= -. .` .: details. | ||
21 | : = ...= . :.=- | ||
22 | -. .:....=;==+<; You should have received a copy of the GNU | ||
23 | -_. . . )=. = Library General Public License along with | ||
24 | -- :-=` this library; see the file COPYING.LIB. | ||
25 | If not, write to the Free Software Foundation, | ||
26 | Inc., 59 Temple Place - Suite 330, | ||
27 | Boston, MA 02111-1307, USA. | ||
28 | */ | ||
29 | |||
30 | /* OPIE */ | ||
31 | #include <qpe/qcopenvelope_qws.h> | ||
32 | |||
33 | /* QT */ | ||
34 | #include <qstring.h> | ||
35 | |||
36 | /* STD */ | ||
37 | #include <stdlib.h> | ||
38 | |||
39 | int main( int argc, char** argv ) | ||
40 | { | ||
41 | qDebug( "NOTE: hotplug-qcop started" ); | ||
42 | qDebug( "... now doing something meaningful ..." ); | ||
43 | qDebug( "NOTE: hotplug-qcop ended" ); | ||
44 | return 0; | ||
45 | } | ||
@@ -67,8 +67,9 @@ CONFIG_GSMTOOL noncore/unsupported/gsmtool gsmtool.pro | |||
67 | CONFIG_GUTENBROWSER noncore/apps/opie-gutenbrowseropie-gutenbrowser.pro | 67 | CONFIG_GUTENBROWSER noncore/apps/opie-gutenbrowseropie-gutenbrowser.pro |
68 | CONFIG_HANDWRITING inputmethods/handwritinghandwriting.pro | 68 | CONFIG_HANDWRITING inputmethods/handwritinghandwriting.pro |
69 | CONFIG_HELPBROWSER core/apps/helpbrowserhelpbrowser.pro | 69 | CONFIG_HELPBROWSER core/apps/helpbrowserhelpbrowser.pro |
70 | CONFIG_HOMEAPPLET core/applets/homeapplethomeapplet.pro | 70 | CONFIG_HOMEAPPLET core/applets/homeapplethomeapplet.pro |
71 | CONFIG_HOTPLUG_QCOP core/tools/hotplug-qcophotplug-qcop.pro | ||
71 | CONFIG_INTERFACES noncore/settings/networksettings/interfacesinterfaces.pro | 72 | CONFIG_INTERFACES noncore/settings/networksettings/interfacesinterfaces.pro |
72 | CONFIG_IRDAAPPLET core/applets/irdaappletirdaapplet.pro | 73 | CONFIG_IRDAAPPLET core/applets/irdaappletirdaapplet.pro |
73 | CONFIG_JUMPX inputmethods/jumpxjumpx.pro | 74 | CONFIG_JUMPX inputmethods/jumpxjumpx.pro |
74 | CONFIG_KBILL noncore/games/kbillkbill.pro | 75 | CONFIG_KBILL noncore/games/kbillkbill.pro |