summaryrefslogtreecommitdiff
path: root/core/tools
authormickeyl <mickeyl>2005-04-27 17:36:57 (UTC)
committer mickeyl <mickeyl>2005-04-27 17:36:57 (UTC)
commitde20c0fd9df84ec55408fceb3df416e45e1df7d5 (patch) (unidiff)
tree31e9257bae568264daa05ea563c9ee041dd56d1b /core/tools
parent90eab99ca45af9b0c9dc0d8eaa049a7d8e4b0f15 (diff)
downloadopie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.zip
opie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.tar.gz
opie-de20c0fd9df84ec55408fceb3df416e45e1df7d5.tar.bz2
add hotplug-qcop skeleton
Diffstat (limited to 'core/tools') (more/less context) (ignore whitespace changes)
-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
3 files changed, 66 insertions, 0 deletions
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}