diff -r bd98be838da9 -r 85683324f94a imports.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/imports.h Thu Mar 19 11:48:33 2009 +0000 @@ -0,0 +1,64 @@ +#ifndef IMPORTS_H +#define IMPORTS_H + +#include +#include +#include + +#include "mapcenterobj.h" +#include "settings.h" + + +/////////////////////////////////////////////////////////////////////// + +class ImportBase +{ +public: + ImportBase(); + virtual ~ImportBase(); + virtual void setDir(const QString &); + virtual void setFile(const QString &); + virtual void setMapCenter (MapCenterObj*); + virtual bool transform(); + virtual QString getTransformedFile(); +protected: + QDir tmpDir; + QString inputDir; + QString inputFile; + MapCenterObj *mapCenter; + QString transformedFile; + +}; + +/////////////////////////////////////////////////////////////////////// +class ImportKDE3Bookmarks:public ImportBase +{ +public: + bool transform(); +}; + +class ImportKDE4Bookmarks:public ImportBase +{ +public: + bool transform(); +}; + + +/////////////////////////////////////////////////////////////////////// +class ImportFirefoxBookmarks:public ImportBase +{ +public: + bool transform(); +}; + + +/////////////////////////////////////////////////////////////////////// +class ImportMM:public ImportBase +{ +public: + bool transform(); +}; + + + +#endif