summaryrefslogtreecommitdiffstats
path: root/src/digikam/dcopiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/digikam/dcopiface.cpp')
-rw-r--r--src/digikam/dcopiface.cpp52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/digikam/dcopiface.cpp b/src/digikam/dcopiface.cpp
new file mode 100644
index 00000000..49f051d9
--- /dev/null
+++ b/src/digikam/dcopiface.cpp
@@ -0,0 +1,52 @@
+/* ============================================================
+ *
+ * This file is a part of digiKam project
+ * http://www.digikam.org
+ *
+ * Date : 2005-01-12
+ * Description : a DCOP interface.
+ *
+ * Copyright (C) 2005 by Leonid Zeitlin <lz@europe.com>
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * ============================================================ */
+
+// Local includes.
+
+#include "dcopiface.h"
+#include "dcopiface.moc"
+
+namespace Digikam
+{
+
+DCOPIface::DCOPIface(TQObject *parent, const char *name)
+ : TQObject(parent, name), DCOPObject(name)
+{
+}
+
+DCOPIface::~DCOPIface()
+{
+}
+
+void DCOPIface::detectCamera()
+{
+ emit signalCameraAutoDetect();
+}
+
+void DCOPIface::downloadFrom( const TQString &folder)
+{
+ emit signalDownloadImages( folder );
+}
+
+} // namespace Digikam
+