no message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (UG) 1999-01-08 12:45:07 +00:00
parent 9f8de18fb6
commit a121841570
2 changed files with 10 additions and 10 deletions

View File

@ -365,16 +365,16 @@ struct DbList
// for other code segments to use, or close all of them when the application has // for other code segments to use, or close all of them when the application has
// completed. // completed.
wxDB *GetDbConnection(DbStuff *pDbStuff); wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff);
bool FreeDbConnection(wxDB *pDb); bool WXDLLEXPORT FreeDbConnection(wxDB *pDb);
void CloseDbConnections(void); void WXDLLEXPORT CloseDbConnections(void);
int NumberDbConnectionsInUse(void); int WXDLLEXPORT NumberDbConnectionsInUse(void);
// This routine allows you to query a driver manager // This routine allows you to query a driver manager
// for a list of available datasources. Call this routine // for a list of available datasources. Call this routine
// the first time using SQL_FETCH_FIRST. Continue to call it // the first time using SQL_FETCH_FIRST. Continue to call it
// using SQL_FETCH_NEXT until you've exhausted the list. // using SQL_FETCH_NEXT until you've exhausted the list.
bool GetDataSource(HENV henv, char *Dsn, SWORD DsnMax, char *DsDesc, SWORD DsDescMax, bool WXDLLEXPORT GetDataSource(HENV henv, char *Dsn, SWORD DsnMax, char *DsDesc, SWORD DsDescMax,
UWORD direction = SQL_FETCH_NEXT); UWORD direction = SQL_FETCH_NEXT);
#endif #endif

View File

@ -56,7 +56,7 @@
#include <ctype.h> #include <ctype.h>
#include "wx/db.h" #include "wx/db.h"
DbList *PtrBegDbList = 0; DbList* WXDLLEXPORT PtrBegDbList = 0;
/********** wxDB Constructor **********/ /********** wxDB Constructor **********/
wxDB::wxDB(HENV &aHenv) wxDB::wxDB(HENV &aHenv)
@ -1353,7 +1353,7 @@ bool wxDB::WriteSqlLog(char *logMsg)
/********** GetDbConnection() **********/ /********** GetDbConnection() **********/
wxDB *GetDbConnection(DbStuff *pDbStuff) wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff)
{ {
DbList *pList; DbList *pList;
@ -1413,7 +1413,7 @@ wxDB *GetDbConnection(DbStuff *pDbStuff)
} // GetDbConnection() } // GetDbConnection()
/********** FreeDbConnection() **********/ /********** FreeDbConnection() **********/
bool FreeDbConnection(wxDB *pDb) bool WXDLLEXPORT FreeDbConnection(wxDB *pDb)
{ {
DbList *pList; DbList *pList;
@ -1430,7 +1430,7 @@ bool FreeDbConnection(wxDB *pDb)
} // FreeDbConnection() } // FreeDbConnection()
/********** CloseDbConnections() **********/ /********** CloseDbConnections() **********/
void CloseDbConnections(void) void WXDLLEXPORT CloseDbConnections(void)
{ {
DbList *pList, *pNext; DbList *pList, *pNext;
@ -1450,7 +1450,7 @@ void CloseDbConnections(void)
} // CloseDbConnections() } // CloseDbConnections()
/********** NumberDbConnectionsInUse() **********/ /********** NumberDbConnectionsInUse() **********/
int NumberDbConnectionsInUse(void) int WXDLLEXPORT NumberDbConnectionsInUse(void)
{ {
DbList *pList; DbList *pList;
int cnt = 0; int cnt = 0;