File: imports.h

package info (click to toggle)
vym 1.10.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,376 kB
  • ctags: 1,926
  • sloc: cpp: 18,468; xml: 277; sh: 211; perl: 89; makefile: 26
file content (58 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef IMPORTS_H
#define IMPORTS_H

#include <qdir.h>
#include <qstring.h>
#include <iostream>

#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 ImportKDEBookmarks:public ImportBase
{
public:
	bool transform();
};	


///////////////////////////////////////////////////////////////////////
class ImportFirefoxBookmarks:public ImportBase
{
public:
	bool transform();
};	


///////////////////////////////////////////////////////////////////////
class ImportMM:public ImportBase
{
public:
	bool transform();
};	



#endif