[sword-cvs] sword/bindings/corba swordorb.idl,NONE,1.1 sword.idl,1.1,NONE

sword@www.crosswire.org sword@www.crosswire.org
Fri, 2 May 2003 03:36:40 -0700


Update of /usr/local/cvsroot/sword/bindings/corba
In directory www:/tmp/cvs-serv1210/bindings/corba

Added Files:
	swordorb.idl 
Removed Files:
	sword.idl 
Log Message:
Updated corba service


--- NEW FILE: swordorb.idl ---
/******************************************************************************
 *	sword.idl	- This file contains a simple idl for accessing sword
 */

#ifndef SWORDORB_IDL
#define SWORDORB_IDL

module swordorb {

typedef sequence<string> StringList;

//-----------------------------------------------------------------
// SWModule methods

interface SWModule {
	void   terminateSearch();
	char   error();
	long  getEntrySize();
	void   setKeyText(in string key);
	string getKeyText();
	string getName();
	string getDescription();
	string getType();
	void   previous();
	void   next();
	void   begin();
	string getStripText();
	string getRenderText();
};

//-----------------------------------------------------------------
// modmap methods
//
interface ModListIterator {
	boolean next();
	SWModule val();
};


//-----------------------------------------------------------------
// SWMgr methods
//
interface SWMgr {
//	SWHANDLE SWDLLEXPORT SWMgr_new();
		// SWConfig *, SWConfig *, bool, SWFilterMgr *
//	SWHANDLE SWDLLEXPORT SWMgr_newEx(SWHANDLE hiconfig, SWHANDLE hisysconfig, char autoload, SWHANDLE hfilterMgr);
//	void     SWDLLEXPORT SWMgr_delete(SWHANDLE hmgr);

//	SWHANDLE SWDLLEXPORT SWMgr_getConfig(SWHANDLE hmgr);

	ModListIterator getModListIterator();
	SWModule getModuleByName(in string name);
	string getPrefixPath();
	string getConfigPath();
	void   setGlobalOption(in string option, in string value);
	string getGlobalOption(in string option);
	string getGlobalOptionTip(in string option);
	StringList getGlobalOptionsIterator();
	StringList getGlobalOptionValuesIterator(in string option);
	void     setCipherKey(in string modName, in string key);

};

};

#endif

--- sword.idl DELETED ---