summaryrefslogtreecommitdiffstats
path: root/src/soundkonverterapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soundkonverterapp.h')
-rwxr-xr-xsrc/soundkonverterapp.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/soundkonverterapp.h b/src/soundkonverterapp.h
new file mode 100755
index 0000000..77e5b9f
--- /dev/null
+++ b/src/soundkonverterapp.h
@@ -0,0 +1,37 @@
+
+
+#ifndef SOUNDKONVERTERAPP_H
+#define SOUNDKONVERTERAPP_H
+
+#include "dcopinterface.h"
+
+#include <kuniqueapplication.h>
+
+class soundKonverter;
+
+/**
+ * @short The soundKonverter application. It controlles ensures that there can only run one instance of soundKonverter.
+ * @author Daniel Faust <hessijames@gmail.com>
+ * @version 0.3
+ */
+class soundKonverterApp : public KUniqueApplication
+{
+ Q_OBJECT
+public:
+ /**
+ * Constructor.
+ */
+ soundKonverterApp();
+
+ /**
+ * Destructor
+ */
+ virtual ~soundKonverterApp();
+
+ /**
+ * This function is called, when a new instance of soundKonverter should be created.
+ */
+ virtual int newInstance();
+};
+
+#endif // SOUNDKONVERTERAPP_H