exports.h
author insilmaril
Mon, 01 Aug 2005 19:32:45 +0000
changeset 143 56c57552f1d2
parent 131 16b250a57c17
child 163 30b22f7bd009
permissions -rw-r--r--
Added a few more undo commands in mapeditor
insilmaril@0
     1
#ifndef EXPORTS_H
insilmaril@0
     2
#define EXPORTS_H
insilmaril@0
     3
insilmaril@0
     4
#include <qdir.h>
insilmaril@0
     5
#include <qstring.h>
insilmaril@0
     6
#include <iostream>
insilmaril@0
     7
insilmaril@0
     8
#include "mapcenterobj.h"
insilmaril@0
     9
insilmaril@0
    10
using namespace std;
insilmaril@0
    11
insilmaril@0
    12
/////////////////////////////////////////////////////////////////////////////
insilmaril@0
    13
class Export
insilmaril@0
    14
{
insilmaril@0
    15
public:
insilmaril@0
    16
	Export();
insilmaril@0
    17
	void setPath(const QString &);
insilmaril@0
    18
	void setMapCenter (MapCenterObj*);
insilmaril@0
    19
	void setIndentPerDepth (QString);
insilmaril@0
    20
	void exportMap();
insilmaril@0
    21
protected:  
insilmaril@0
    22
	QString getSectionString (BranchObj*);
insilmaril@0
    23
insilmaril@0
    24
private:
insilmaril@0
    25
	QDir outdir;
insilmaril@0
    26
	QString filepath;
insilmaril@0
    27
	MapCenterObj *mapCenter;
insilmaril@0
    28
	QString	indentPerDepth;
insilmaril@0
    29
};
insilmaril@0
    30
insilmaril@0
    31
#endif