[sword-svn] r1763 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Sun Apr 3 16:57:04 MST 2005


Author: scribe
Date: 2005-04-03 16:57:03 -0700 (Sun, 03 Apr 2005)
New Revision: 1763

Modified:
   trunk/include/curlftpt.h
   trunk/include/echomod.h
   trunk/include/entriesblk.h
   trunk/include/filemgr.h
   trunk/include/ftplibftpt.h
   trunk/include/ftptrans.h
   trunk/include/gbfosis.h
   trunk/include/hebrewmcim.h
   trunk/include/installmgr.h
   trunk/include/nullim.h
   trunk/include/stringmgr.h
   trunk/include/swbasicfilter.h
   trunk/include/swinputmeth.h
   trunk/include/swversion.h
   trunk/include/url.h
Log:
added SWDLLEXPORT to some classes where it was missing
Noticed quite a few header files that seem extraneous.
If anyone notices this, could you remove what you might
have added that is not used any longer.




Modified: trunk/include/curlftpt.h
===================================================================
--- trunk/include/curlftpt.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/curlftpt.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -16,7 +16,7 @@
 };
 
 
-class CURLFTPTransport : public FTPTransport {
+class SWDLLEXPORT CURLFTPTransport : public FTPTransport {
 	CURL *session;
 
 public:

Modified: trunk/include/echomod.h
===================================================================
--- trunk/include/echomod.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/echomod.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -28,7 +28,7 @@
 
 SWORD_NAMESPACE_START
 
-class EchoMod:public SWText
+class SWDLLEXPORT EchoMod:public SWText
 {
 public:
   EchoMod ();

Modified: trunk/include/entriesblk.h
===================================================================
--- trunk/include/entriesblk.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/entriesblk.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -6,7 +6,7 @@
 
 SWORD_NAMESPACE_START
 
-class EntriesBlock {
+class SWDLLEXPORT EntriesBlock {
 	static const int METAHEADERSIZE;
 	static const int METAENTRYSIZE;
 

Modified: trunk/include/filemgr.h
===================================================================
--- trunk/include/filemgr.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/filemgr.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -75,7 +75,7 @@
 * It keeps a list of all open files internally and closes them
 * when the destructor is called.
 */
-class FileMgr : public SWCacher {
+class SWDLLEXPORT FileMgr : public SWCacher {
 
 	friend class FileDesc;
 	friend class __staticsystemFileMgr;

Modified: trunk/include/ftplibftpt.h
===================================================================
--- trunk/include/ftplibftpt.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/ftplibftpt.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -14,7 +14,7 @@
 };
 
 
-class FTPLibFTPTransport : public FTPTransport {
+class SWDLLEXPORT FTPLibFTPTransport : public FTPTransport {
 	void *nControl;
 
 public:

Modified: trunk/include/ftptrans.h
===================================================================
--- trunk/include/ftptrans.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/ftptrans.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -17,7 +17,7 @@
 
 /** Class for reporting status
 */
-class StatusReporter {
+class SWDLLEXPORT StatusReporter {
 public:
 	/** Messages before stages of a batch download */
 	virtual void preStatus(long totalBytes, long completedBytes, const char *message);
@@ -30,7 +30,7 @@
 /** TODO: document
 * A base class to be used for reimplementation of network services.
 */
-class FTPTransport {
+class SWDLLEXPORT FTPTransport {
 
 protected:
 	StatusReporter *statusReporter;

Modified: trunk/include/gbfosis.h
===================================================================
--- trunk/include/gbfosis.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/gbfosis.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -27,7 +27,7 @@
 SWORD_NAMESPACE_START
 
 
-class QuoteStack {
+class SWDLLEXPORT QuoteStack {
 private:
 	class QuoteInstance {
 	public:

Modified: trunk/include/hebrewmcim.h
===================================================================
--- trunk/include/hebrewmcim.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/hebrewmcim.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -16,7 +16,7 @@
 SWORD_NAMESPACE_START
 
 
-class HebrewMCIM : public SWInputMethod {
+class SWDLLEXPORT HebrewMCIM : public SWInputMethod {
 
     void init();
     int subst[255];

Modified: trunk/include/installmgr.h
===================================================================
--- trunk/include/installmgr.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/installmgr.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -14,7 +14,7 @@
 
 /** TODO: document
 */
-class InstallSource {
+class SWDLLEXPORT InstallSource {
 	SWMgr *mgr;
 public:
 	InstallSource(const char *type, const char *confEnt = 0);
@@ -36,7 +36,7 @@
 
 /** TODO: document
 */
-class InstallMgr {
+class SWDLLEXPORT InstallMgr {
 
 protected:
 	std::set<SWBuf> defaultMods;

Modified: trunk/include/nullim.h
===================================================================
--- trunk/include/nullim.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/nullim.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -5,7 +5,7 @@
 #include <defs.h>
 SWORD_NAMESPACE_START
 
-class NullIM : public SWInputMethod {
+class SWDLLEXPORT NullIM : public SWInputMethod {
 
 public:
 	NullIM();

Modified: trunk/include/stringmgr.h
===================================================================
--- trunk/include/stringmgr.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/stringmgr.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -31,7 +31,7 @@
 /** StringMgr is a way to provide UTf8 handling by the Sword frontend
  * Each platform, if it's up-to-date, should provide functions to handle unicode and utf8. This class makes it possible to implement Unicode support on the user-side and not in Sword itself.
  */
-class StringMgr {
+class SWDLLEXPORT StringMgr {
 public:
 	/** Sets the global StringMgr handle
 	* @param newStringMgr The new global StringMgr. This pointer will be deleted by this StringMgr

Modified: trunk/include/swbasicfilter.h
===================================================================
--- trunk/include/swbasicfilter.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/swbasicfilter.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -32,7 +32,7 @@
 
 
 // not a protected inner class because MSVC++ sucks and can't handle it
-class BasicFilterUserData {
+class SWDLLEXPORT BasicFilterUserData {
 public:
 	BasicFilterUserData(const SWModule *module, const SWKey *key) { this->module = module; this->key = key; suspendTextPassThru = false; supressAdjacentWhitespace = false; }
 	virtual ~BasicFilterUserData() {}

Modified: trunk/include/swinputmeth.h
===================================================================
--- trunk/include/swinputmeth.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/swinputmeth.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -13,7 +13,7 @@
 #include <defs.h>
 SWORD_NAMESPACE_START
 
-class SWInputMethod {
+class SWDLLEXPORT SWInputMethod {
 
 private:
     int state;

Modified: trunk/include/swversion.h
===================================================================
--- trunk/include/swversion.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/swversion.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -27,7 +27,7 @@
 
 /** A basic tool class to handle program version numbers.
 */
-class SWVersion {
+class SWDLLEXPORT SWVersion {
 	public:
 	/** The different version subnumbers.
 	*/

Modified: trunk/include/url.h
===================================================================
--- trunk/include/url.h	2005-04-03 07:41:18 UTC (rev 1762)
+++ trunk/include/url.h	2005-04-03 23:57:03 UTC (rev 1763)
@@ -30,7 +30,7 @@
 /** URL provides URL parsing
  * The URL class provides an interface to work on the data of an URL like "http://www.crosswire.org/index.jsp?page=test&amp;user=nobody"
  */
-class URL {
+class SWDLLEXPORT URL {
 public:
 	typedef std::map<SWBuf, SWBuf> ParameterMap;
 	



More information about the sword-cvs mailing list