summaryrefslogtreecommitdiffstats
path: root/kdcop/kdcop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdcop/kdcop.cpp')
-rw-r--r--kdcop/kdcop.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/kdcop/kdcop.cpp b/kdcop/kdcop.cpp
new file mode 100644
index 000000000..41d7c3dd0
--- /dev/null
+++ b/kdcop/kdcop.cpp
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2000 by Matthias Kalle Dalheimer <kalle@kde.org>
+ *
+ * Licensed under the Artistic License.
+ */
+#include <kapplication.h>
+#include <klocale.h>
+#include <kaboutdata.h>
+#include <kcmdlineargs.h>
+
+#include "kdcopwindow.h"
+
+static const KCmdLineOptions options[] =
+{
+ KCmdLineLastOption
+};
+
+int main( int argc, char ** argv )
+{
+ KAboutData aboutData( "kdcop", I18N_NOOP("KDCOP"),
+ "0.1", I18N_NOOP( "A graphical DCOP browser/client" ),
+ KAboutData::License_Artistic,
+ "(c) 2000, Matthias Kalle Dalheimer");
+ aboutData.addAuthor("Matthias Kalle Dalheimer",0, "kalle@kde.org");
+ aboutData.addAuthor("Rik Hemsley",0, "rik@kde.org");
+ aboutData.addAuthor("Ian Reinhart Geiser",0,"geiseri@kde.org");
+ KCmdLineArgs::init( argc, argv, &aboutData );
+ KCmdLineArgs::addCmdLineOptions( options );
+
+ KApplication a;
+
+ KDCOPWindow* kdcopwindow = new KDCOPWindow;
+ a.setMainWidget( kdcopwindow );
+ kdcopwindow->show();
+
+ return a.exec();
+}