[sword-cvs] sword/include installmgr.h,1.8,1.9 zconf.h,1.3,1.4

sword@www.crosswire.org sword@www.crosswire.org
Sun, 6 Jul 2003 19:50:07 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv6997/include

Modified Files:
	installmgr.h zconf.h 
Log Message:
no message

Index: installmgr.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/installmgr.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** installmgr.h	7 Jul 2003 00:25:59 -0000	1.8
--- installmgr.h	7 Jul 2003 02:50:05 -0000	1.9
***************
*** 34,37 ****
--- 34,38 ----
  
  class InstallSource {
+ 	SWMgr *mgr;
  public:
  	InstallSource(const char *confEnt, const char *type);
***************
*** 45,50 ****
  	SWBuf caption;
  	SWBuf localShadow;
- 	SWMgr *mgr;
  	void *userData;
  };
  
--- 46,52 ----
  	SWBuf caption;
  	SWBuf localShadow;
  	void *userData;
+ 	SWMgr *getMgr();
+ 	void flush() { if (mgr) delete mgr; mgr = 0; }
  };
  
***************
*** 80,83 ****
--- 82,86 ----
  	virtual int installModule(SWMgr *destMgr, const char *fromLocation, const char *modName, InstallSource *is = 0);
  	virtual int copyFileToSWORDInstall(SWMgr *manager, const char *sourceDir, const char *fName);
+ 	virtual void refreshRemoteSource(InstallSource *is);
  	virtual void statusUpdate(double dltotal, double dlnow);
  	virtual void preDownloadStatus(long totalBytes, long completedBytes, const char *message);

Index: zconf.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/zconf.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** zconf.h	7 Oct 2002 22:48:50 -0000	1.3
--- zconf.h	7 Jul 2003 02:50:05 -0000	1.4
***************
*** 221,225 ****
  #  define Bytef Byte FAR
  #else
!    typedef Byte  FAR Bytef;
  #endif
  typedef char  FAR charf;
--- 221,225 ----
  #  define Bytef Byte FAR
  #else
!    typedef unsigned char FAR Bytef;
  #endif
  typedef char  FAR charf;