summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--config.in1
-rw-r--r--core/tools/hotplug-qcop/config.in5
-rw-r--r--core/tools/hotplug-qcop/hotplug-qcop.pro16
-rw-r--r--core/tools/hotplug-qcop/main.cpp45
-rw-r--r--packages1
5 files changed, 68 insertions, 0 deletions
diff --git a/config.in b/config.in
index e5374fb..61107e7 100644
--- a/config.in
+++ b/config.in
@@ -198,4 +198,5 @@ menu "Base"
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
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
16include( $(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
39int 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}
diff --git a/packages b/packages
index e440cdb..40a7125 100644
--- a/packages
+++ b/packages
@@ -69,4 +69,5 @@ CONFIG_HANDWRITING inputmethods/handwriting handwriting.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