summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/rawconverter/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/rawconverter/actions.h')
-rw-r--r--kipi-plugins/rawconverter/actions.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/kipi-plugins/rawconverter/actions.h b/kipi-plugins/rawconverter/actions.h
new file mode 100644
index 0000000..5dd3e3e
--- /dev/null
+++ b/kipi-plugins/rawconverter/actions.h
@@ -0,0 +1,63 @@
+/* ============================================================
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2006-12-09
+ * Description : raw converter plugin action descriptions
+ *
+ * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot 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.
+ *
+ * ============================================================ */
+
+#ifndef ACTIONS_H
+#define ACTIONS_H
+
+namespace KIPIRawConverterPlugin
+{
+
+enum Action
+{
+ NONE = 0,
+ IDENTIFY,
+ IDENTIFY_FULL,
+ PREVIEW,
+ PROCESS
+};
+
+class EventData
+{
+
+public:
+
+ EventData()
+ {
+ starting = false;
+ success = false;
+ }
+
+ bool starting;
+ bool success;
+
+ QString filePath;
+ QString destPath;
+ QString message;
+
+ QImage image;
+
+ Action action;
+};
+
+} // NameSpace KIPIRawConverterPlugin
+
+#endif /* ACTIONS_H */