summaryrefslogtreecommitdiffstats
path: root/krecipes/src/exporters/cookmlexporter.h
blob: 7e8d99a7c6f0a0b2917d695d01d9858a31078cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 TQString&, const TQString& );
	virtual ~CookMLExporter();

	virtual int supportedItems() const;

protected:
	virtual TQString createContent( const RecipeList& );
	virtual TQString createHeader( const RecipeList& );
	virtual TQString createFooter();
};

#endif //COOKMLEXPORTER_H