]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/db.h
no message
[wxWidgets.git] / include / wx / db.h
index 190144804dacf6e7535a22be731081fe37f07c79..2f4260bcf81037f3d7822989ce5bcac105c34f7d 100644 (file)
@@ -224,7 +224,7 @@ typedef struct
        short MaximumScale;
 } SqlTypeInfo;
 
-class CcolInf
+class WXDLLEXPORT CcolInf
 {
 public:
        char tableName[DB_MAX_TABLE_NAME_LEN+1];
@@ -238,7 +238,7 @@ enum sqlLog
        sqlLogON
 };
 
-class wxDB
+class WXDLLEXPORT wxDB
 {
 private:
 
@@ -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