aboutsummaryrefslogblamecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/biblecsmgr.h
blob: d9dbc978479526835a1d74b2cf48b0a5e8f36d7d (plain) (tree)

































                                                                                             
//---------------------------------------------------------------------------
#ifndef biblecsmgrH
#define biblecsmgrH
#include <swmgr.h>
#include "ModInstForm.h"
//---------------------------------------------------------------------------

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