diff -r 000000000000 -r 89dd2219982f exports.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/exports.h Thu Mar 05 09:33:30 2009 +0000 @@ -0,0 +1,34 @@ +#ifndef EXPORTS_H +#define EXPORTS_H + +#include +#include +#include + +#include "mapcenterobj.h" + +using namespace std; + +///////////////////////////////////////////////////////////////////////////// +class Export +{ +public: + Export(); + bool setOutputDir (QString); + void setPath(const QString &); + void setMapCenter (MapCenterObj*); + void setIndentPerDepth (QString); + void exportMap(); + void exportAsHTML(); +protected: + QString getSectionString (BranchObj*); + void write (QString); + +private: + QDir outdir; + QString filepath; + MapCenterObj *mapCenter; + QString indentPerDepth; +}; + +#endif