summaryrefslogtreecommitdiffstats
path: root/src/dcopinterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
commitf2cfda2a54780868dfe0af7bd652fcd4906547da (patch)
treec6ac23545528f5701818424f2af5f79ce3665e6c /src/dcopinterface.h
downloadsoundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.tar.gz
soundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.zip
Added KDE3 version of SoundKonverter
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1097614 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/dcopinterface.h')
-rwxr-xr-xsrc/dcopinterface.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/dcopinterface.h b/src/dcopinterface.h
new file mode 100755
index 0000000..18a097c
--- /dev/null
+++ b/src/dcopinterface.h
@@ -0,0 +1,58 @@
+
+
+#ifndef DCOPINTERFACE_H
+#define DCOPINTERFACE_H
+
+#include <dcopobject.h>
+
+#include <qstringlist.h>
+
+/**
+ * @short The soundKonverter DCOP interface
+ * @author Daniel Faust <[email protected]>
+ * @version 0.3
+ */
+class DCOPInterface : virtual public DCOPObject
+{
+ K_DCOP
+k_dcop:
+ /**
+ * When a new instance of soundKonverter should be created,
+ * this function is called and all @p files are passed, that should be opened (for conversion).
+ */
+ virtual void openArgFiles( const QStringList &files ) = 0;
+
+ /**
+ * When a new instance of soundKonverter should be created,
+ * this function is called and all @p files are passed, that should be opened for editing the replaygain tag.
+ */
+ virtual void openArgReplayGainFiles( const QStringList &files ) = 0;
+
+ /*
+ * When a new instance of soundKonverter should be created,
+ * this function is called and all @p files are passed, that should be opened for repair.
+ */
+// virtual void openArgRepairFiles( const QStringList &files ) = 0;
+
+
+// TODO code cleanups
+/*
+ virtual void openFiles(const QStringList &files) = 0;
+ virtual void openReplayGainFiles(const QStringList &files) = 0;
+ virtual void showFileDialog() = 0;
+ virtual void showDirDialog() = 0;
+ virtual void showCDDialog() = 0;
+ virtual void showURLDialog() = 0;
+ virtual void showReplayGainScanner() = 0;
+ virtual void showCuesheetEditor() = 0;
+ virtual void showConfigDialog() = 0;
+ virtual void showLogViewer() = 0;
+ virtual void startConversion() = 0;
+ virtual void stopConversion() = 0;
+ virtual void killConversion() = 0;
+ virtual void removeFiles(const QStringList &files) = 0;
+*/
+};
+
+
+#endif // DCOPINTERFACE_H