aboutsummaryrefslogblamecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/biblecsmgr.h
blob: 5aa3950ea976291900a89b6f41bccd51e821bca3 (plain) (tree)
1
2
3
4
5
6
7
8




                                                                             


                      




























                                                                                             
//---------------------------------------------------------------------------
#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