no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9f8de18fb6
commit
a121841570
@ -365,16 +365,16 @@ struct DbList
|
||||
// for other code segments to use, or close all of them when the application has
|
||||
// completed.
|
||||
|
||||
wxDB *GetDbConnection(DbStuff *pDbStuff);
|
||||
bool FreeDbConnection(wxDB *pDb);
|
||||
void CloseDbConnections(void);
|
||||
int NumberDbConnectionsInUse(void);
|
||||
wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff);
|
||||
bool WXDLLEXPORT FreeDbConnection(wxDB *pDb);
|
||||
void WXDLLEXPORT CloseDbConnections(void);
|
||||
int WXDLLEXPORT NumberDbConnectionsInUse(void);
|
||||
|
||||
// This routine allows you to query a driver manager
|
||||
// for a list of available datasources. Call this routine
|
||||
// the first time using SQL_FETCH_FIRST. Continue to call it
|
||||
// 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);
|
||||
|
||||
#endif
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include <ctype.h>
|
||||
#include "wx/db.h"
|
||||
|
||||
DbList *PtrBegDbList = 0;
|
||||
DbList* WXDLLEXPORT PtrBegDbList = 0;
|
||||
|
||||
/********** wxDB Constructor **********/
|
||||
wxDB::wxDB(HENV &aHenv)
|
||||
@ -1353,7 +1353,7 @@ bool wxDB::WriteSqlLog(char *logMsg)
|
||||
|
||||
|
||||
/********** GetDbConnection() **********/
|
||||
wxDB *GetDbConnection(DbStuff *pDbStuff)
|
||||
wxDB* WXDLLEXPORT GetDbConnection(DbStuff *pDbStuff)
|
||||
{
|
||||
DbList *pList;
|
||||
|
||||
@ -1413,7 +1413,7 @@ wxDB *GetDbConnection(DbStuff *pDbStuff)
|
||||
} // GetDbConnection()
|
||||
|
||||
/********** FreeDbConnection() **********/
|
||||
bool FreeDbConnection(wxDB *pDb)
|
||||
bool WXDLLEXPORT FreeDbConnection(wxDB *pDb)
|
||||
{
|
||||
DbList *pList;
|
||||
|
||||
@ -1430,7 +1430,7 @@ bool FreeDbConnection(wxDB *pDb)
|
||||
} // FreeDbConnection()
|
||||
|
||||
/********** CloseDbConnections() **********/
|
||||
void CloseDbConnections(void)
|
||||
void WXDLLEXPORT CloseDbConnections(void)
|
||||
{
|
||||
DbList *pList, *pNext;
|
||||
|
||||
@ -1450,7 +1450,7 @@ void CloseDbConnections(void)
|
||||
} // CloseDbConnections()
|
||||
|
||||
/********** NumberDbConnectionsInUse() **********/
|
||||
int NumberDbConnectionsInUse(void)
|
||||
int WXDLLEXPORT NumberDbConnectionsInUse(void)
|
||||
{
|
||||
DbList *pList;
|
||||
int cnt = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user