[sword-cvs] sword/bindings/swig treekeyidx.i,1.2,1.3

sword@www.crosswire.org sword@www.crosswire.org
Sat, 11 Jan 2003 15:22:49 -0700


Update of /usr/local/cvsroot/sword/bindings/swig
In directory www:/tmp/cvs-serv29398

Modified Files:
	treekeyidx.i 
Log Message:
bug fix

Index: treekeyidx.i
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/swig/treekeyidx.i,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** treekeyidx.i	27 Nov 2002 21:20:35 -0000	1.2
--- treekeyidx.i	11 Jan 2003 22:22:46 -0000	1.3
***************
*** 5,53 ****
  
  class TreeKeyIdx : public TreeKey {
  	TreeKeyIdx(const TreeKeyIdx &ikey);
  	TreeKeyIdx (const char *idxPath, int fileMode = -1);
  	~TreeKeyIdx ();
  
- //	virtual const char *getLocalName();
- //	virtual const char *setLocalName(const char *);
- 
- //	virtual const char *getUserData(int *size = 0);
- //	virtual void setUserData(const char *userData, int size = 0);
- 
- //	virtual const char *getFullName() const;
- 
- //	virtual void root();
- //	virtual bool parent();
- 
- //	virtual bool firstChild();
- //	virtual bool nextSibling();
- //	virtual bool previousSibling();
- 
- //	virtual bool hasChildren();
- 
- //	virtual void append();
- //	virtual void appendChild();
- //	virtual void insertBefore();
- 
- //	virtual void remove();
  	virtual void save();
  
  	virtual void copyFrom(const TreeKeyIdx &ikey);
- //	virtual void copyFrom(const SWKey & ikey);
- 
- //	virtual SWKey &operator = (const TreeKeyIdx &ikey) { copyFrom(ikey); return *this; }
- //	void setOffset(unsigned long offset);
- //	unsigned long getOffset() const;
  
- //	SWKEY_OPERATORS
- 
- //	virtual void setText(const char *ikey);
- //	virtual void setPosition(SW_POSITION p);
- //	virtual const char *getText() const;
  	virtual int _compare (const TreeKeyIdx & ikey);
- //	virtual int compare(const SWKey &ikey);
- //	virtual void decrement(int steps = 1);
- //	virtual void increment(int steps = 1);
- //	virtual char Traversable () { return 1; }
  
  	static signed char create(const char *path);
--- 5,18 ----
  
  class TreeKeyIdx : public TreeKey {
+ public:
  	TreeKeyIdx(const TreeKeyIdx &ikey);
  	TreeKeyIdx (const char *idxPath, int fileMode = -1);
  	~TreeKeyIdx ();
  
  	virtual void save();
  
  	virtual void copyFrom(const TreeKeyIdx &ikey);
  
  	virtual int _compare (const TreeKeyIdx & ikey);
  
  	static signed char create(const char *path);