[sword-svn] r2391 - trunk/include

chrislit at crosswire.org chrislit at crosswire.org
Thu May 7 19:02:16 MST 2009


Author: chrislit
Date: 2009-05-07 19:02:16 -0700 (Thu, 07 May 2009)
New Revision: 2391

Modified:
   trunk/include/curlftpt.h
   trunk/include/curlhttpt.h
   trunk/include/ftplibftpt.h
   trunk/include/ftptrans.h
   trunk/include/osishtmlhref.h
   trunk/include/osismorphsegmentation.h
   trunk/include/utilstr.h
Log:
licenses added, prettified
SWDLLEXPORT added to some classes, functions

Modified: trunk/include/curlftpt.h
===================================================================
--- trunk/include/curlftpt.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/curlftpt.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -1,3 +1,23 @@
+/******************************************************************************
+*  curlftpt.h  - code for CURL impl of FTP Transport
+*
+* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
+*
+* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+*	CrossWire Bible Society
+*	P. O. Box 2528
+*	Tempe, AZ  85280-2528
+*
+* This program is free software; you can redistribute it and/or modify it
+* under the terms of the GNU General Public License as published by the
+* Free Software Foundation version 2.
+*
+* This program is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* General Public License for more details.
+*
+*/
 #ifndef CURLFTPT_H
 #define CURLFTPT_H
 

Modified: trunk/include/curlhttpt.h
===================================================================
--- trunk/include/curlhttpt.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/curlhttpt.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -1,23 +1,23 @@
 /******************************************************************************
-*  curlhttpt.h  - code for CURL impl of HTTP Transport
-*
-* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
-*
-* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
-*	CrossWire Bible Society
-*	P. O. Box 2528
-*	Tempe, AZ  85280-2528
-*
-* This program is free software; you can redistribute it and/or modify it
-* under the terms of the GNU General Public License as published by the
-* Free Software Foundation version 2.
-*
-* This program is distributed in the hope that it will be useful, but
-* WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* General Public License for more details.
-*
-*/
+*  curlhttpt.h  - code for CURL impl of HTTP Transport
+*
+* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
+*
+* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+*	CrossWire Bible Society
+*	P. O. Box 2528
+*	Tempe, AZ  85280-2528
+*
+* This program is free software; you can redistribute it and/or modify it
+* under the terms of the GNU General Public License as published by the
+* Free Software Foundation version 2.
+*
+* This program is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* General Public License for more details.
+*
+*/
 #ifndef CURLHTTPT_H
 #define CURLHTTPT_H
 

Modified: trunk/include/ftplibftpt.h
===================================================================
--- trunk/include/ftplibftpt.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/ftplibftpt.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -1,3 +1,23 @@
+/******************************************************************************
+*  ftplibftpt.h  - code for ftplib impl of FTP Transport
+*
+* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
+*
+* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+*	CrossWire Bible Society
+*	P. O. Box 2528
+*	Tempe, AZ  85280-2528
+*
+* This program is free software; you can redistribute it and/or modify it
+* under the terms of the GNU General Public License as published by the
+* Free Software Foundation version 2.
+*
+* This program is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* General Public License for more details.
+*
+*/
 #ifndef FTPLIBFTPT_H
 #define FTPLIBFTPT_H
 

Modified: trunk/include/ftptrans.h
===================================================================
--- trunk/include/ftptrans.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/ftptrans.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -1,23 +1,23 @@
 /******************************************************************************
-*  ftptrans.h  - code for FTP Transport
-*
-* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
-*
-* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
-*	CrossWire Bible Society
-*	P. O. Box 2528
-*	Tempe, AZ  85280-2528
-*
-* This program is free software; you can redistribute it and/or modify it
-* under the terms of the GNU General Public License as published by the
-* Free Software Foundation version 2.
-*
-* This program is distributed in the hope that it will be useful, but
-* WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* General Public License for more details.
-*
-*/
+*  ftptrans.h  - code for FTP Transport
+*
+* $Id: swbuf.h 2218 2008-12-23 09:33:38Z scribe $
+*
+* Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+*	CrossWire Bible Society
+*	P. O. Box 2528
+*	Tempe, AZ  85280-2528
+*
+* This program is free software; you can redistribute it and/or modify it
+* under the terms of the GNU General Public License as published by the
+* Free Software Foundation version 2.
+*
+* This program is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* General Public License for more details.
+*
+*/
 
 // TODO: Rename this to RemoteTransport in 1.7.x
 

Modified: trunk/include/osishtmlhref.h
===================================================================
--- trunk/include/osishtmlhref.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/osishtmlhref.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -33,7 +33,7 @@
 protected:
 	// used by derived classes so we have it in the header
 	class QuoteStack;
-	class MyUserData : public BasicFilterUserData {
+	class SWDLLEXPORT MyUserData : public BasicFilterUserData {
 	public:
 		bool osisQToTick;
 		bool inBold;

Modified: trunk/include/osismorphsegmentation.h
===================================================================
--- trunk/include/osismorphsegmentation.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/osismorphsegmentation.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -29,7 +29,7 @@
  *  (for morpheme segmented Hebrew in the WLC)
  */
 
-class OSISMorphSegmentation : public SWOptionFilter {
+class SWDLLEXPORT OSISMorphSegmentation : public SWOptionFilter {
 
 public:
 	OSISMorphSegmentation();

Modified: trunk/include/utilstr.h
===================================================================
--- trunk/include/utilstr.h	2009-05-07 00:03:38 UTC (rev 2390)
+++ trunk/include/utilstr.h	2009-05-08 02:02:16 UTC (rev 2391)
@@ -30,10 +30,10 @@
 /** stdstr - clone a string
 */
 SWDLLEXPORT char *stdstr (char **iistr, const char *istr, unsigned int memPadFactor = 1);
-char *strstrip (char *istr);
-const char *stristr (const char *s1, const char *s2);
-int strnicmp(const char *s1, const char *s2, int len);
-int stricmp(const char *s1, const char *s2);
+SWDLLEXPORT char *strstrip (char *istr);
+SWDLLEXPORT const char *stristr (const char *s1, const char *s2);
+SWDLLEXPORT int strnicmp(const char *s1, const char *s2, int len);
+SWDLLEXPORT int stricmp(const char *s1, const char *s2);
 
 /******************************************************************************
  * SW_toupper - array of uppercase values for any given Latin-1 value




More information about the sword-cvs mailing list