[sword-cvs] swordreader/src/Dll1/winceSword/include swwinlog.h,NONE,1.1 swordce.h,1.2,1.3

sword@www.crosswire.org sword@www.crosswire.org
Tue, 20 Jan 2004 23:15:35 -0700


Update of /cvs/core/swordreader/src/Dll1/winceSword/include
In directory www:/tmp/cvs-serv16861/src/Dll1/winceSword/include

Modified Files:
	swordce.h 
Added Files:
	swwinlog.h 
Log Message:
no message

--- NEW FILE: swwinlog.h ---
/******************************************************************************
 *  swwinlog.h   - definition of SWWinLog-- a derivitive of SWLog used to
 *			handle logging in the MSWindows environment
 *
 * $Id: swwinlog.h,v 1.1 2004/01/21 06:15:33 scribe Exp $
 *
 * Copyright 1998 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 swwinlogH
#define swwinlogH
//---------------------------------------------------------------------------

#include <swlog.h>
#include <windows.h>

SWORD_NAMESPACE_START

class SWWinLog:public SWLog
{
  HWND parent;
public:
    SWWinLog (HWND iparent);
  virtual void LogWarning (char *fmt, ...);
  virtual void LogError (char *fmt, ...);
  virtual void LogTimedInformation (char *fmt, ...);
  virtual void LogInformation (char *fmt, ...);
};

SWORD_NAMESPACE_END
#endif

Index: swordce.h
===================================================================
RCS file: /cvs/core/swordreader/src/Dll1/winceSword/include/swordce.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- swordce.h	17 Jan 2004 02:57:42 -0000	1.2
+++ swordce.h	21 Jan 2004 06:15:33 -0000	1.3
@@ -3,11 +3,12 @@
 
 #include <string.h>
 #include <ctype.h>
+#include <defs.h>
 
-wchar_t *strtowstr(const char *str);
-char *wstrtostr(const wchar_t *str);
-const char *getWorkingDirectory();
-const char *windizePath(const char *path);
+SWDLLEXPORT wchar_t *strtowstr(const char *str);
+SWDLLEXPORT char *wstrtostr(const wchar_t *str);
+SWDLLEXPORT const char *getWorkingDirectory();
+SWDLLEXPORT const char *windizePath(const char *path);
 int stricmp(const char *s1, const char *s2);
 
 namespace sword {