summaryrefslogtreecommitdiffstats
path: root/krecipes/src/exporters/cookmlexporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/exporters/cookmlexporter.h')
-rw-r--r--krecipes/src/exporters/cookmlexporter.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/krecipes/src/exporters/cookmlexporter.h b/krecipes/src/exporters/cookmlexporter.h
new file mode 100644
index 0000000..ce62b73
--- /dev/null
+++ b/krecipes/src/exporters/cookmlexporter.h
@@ -0,0 +1,38 @@
+/***************************************************************************
+* Copyright (C) 2003 by *
+* Jason Kivlighn (jkivlighn@gmail.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 of the License, or *
+* (at your option) any later version. *
+***************************************************************************/
+
+#ifndef COOKMLEXPORTER_H
+#define COOKMLEXPORTER_H
+
+#include "baseexporter.h"
+
+/**
+ * Export class for the Meal-Master file format
+ * @author Jason Kivlighn
+ *
+ * Note: This format does not handle all the properties of recipes.
+ * Data lost in export to this format include:
+ * ---none?---
+ */
+class CookMLExporter : public BaseExporter
+{
+public:
+ CookMLExporter( const QString&, const QString& );
+ virtual ~CookMLExporter();
+
+ virtual int supportedItems() const;
+
+protected:
+ virtual QString createContent( const RecipeList& );
+ virtual QString createHeader( const RecipeList& );
+ virtual QString createFooter();
+};
+
+#endif //COOKMLEXPORTER_H