aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/biblecsmgr.h
blob: 5aa3950ea976291900a89b6f41bccd51e821bca3 (plain) (blame)
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
//---------------------------------------------------------------------------
#ifndef biblecsmgrH
#define biblecsmgrH
#include <swmgr.h>
#include "ModInstForm.h"

using namespace sword;

//---------------------------------------------------------------------------

enum PlatformIDs { WIN32S = 0, WIN9X, WINNT, WINCE };

class BibleCSMGR : public SWMgr {
	TModInstFrm *ModInstFrm;
//	SWFilter *arshaping;
	SWFilter *bidireorder;
        SWFilter *transliterator;
	   char platformID;
	SWConfig *userPrefs;

protected:
	virtual char AddModToConfig(int conffd, const char *fname);
	virtual void AddRenderFilters(SWModule *module, ConfigEntMap &section);
	   virtual signed char Load ();
	   virtual void AddGlobalOptions (SWModule * module, ConfigEntMap & section,
								ConfigEntMap::iterator start,
								ConfigEntMap::iterator end);

public:
	BibleCSMGR(TModInstFrm *iModInstFrm);
	virtual ~BibleCSMGR();
	SWConfig &getUserPrefs() { return *userPrefs; }
	void applyUserPrefs();
};

#endif