Commenting and text formatting cleanup. No source changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-02-04 15:55:15 +00:00
parent 9fe17bd344
commit e7e5298cca

View File

@@ -191,18 +191,21 @@ public:
#endif #endif
// Public member functions // Public member functions
wxDbTable(wxDb *pwxDb, const wxString &tblName, const int nCols, wxDbTable(wxDb *pwxDb, const wxString &tblName, const int nCols,
const wxString &qryTblName = "", bool qryOnly = !wxDB_QUERY_ONLY, const wxString &tblPath=""); const wxString &qryTblName="", bool qryOnly = !wxDB_QUERY_ONLY,
const wxString &tblPath="");
// DEPRECATED // DEPRECATED
wxDbTable(wxDb *pwxDb, const wxString &tblName, const int nCols, wxDbTable(wxDb *pwxDb, const wxString &tblName, const int nCols,
const wxChar *qryTblName = "", bool qryOnly = !wxDB_QUERY_ONLY, const wxString &tblPath=""); const wxChar *qryTblName="", bool qryOnly = !wxDB_QUERY_ONLY,
const wxString &tblPath="");
virtual ~wxDbTable(); virtual ~wxDbTable();
bool Open(bool checkPrivileges=FALSE); bool Open(bool checkPrivileges=FALSE);
bool CreateTable(bool attemptDrop=TRUE); bool CreateTable(bool attemptDrop=TRUE);
bool DropTable(void); bool DropTable(void);
bool CreateIndex(const wxString &idxName, bool unique, int noIdxCols, wxDbIdxDef *pIdxDefs, bool attemptDrop=TRUE); bool CreateIndex(const wxString &idxName, bool unique, int noIdxCols,
wxDbIdxDef *pIdxDefs, bool attemptDrop=TRUE);
bool DropIndex(const wxString &idxName); bool DropIndex(const wxString &idxName);
// Accessors // Accessors
@@ -295,7 +298,8 @@ public:
bool SetQueryTimeout(UDWORD nSeconds); bool SetQueryTimeout(UDWORD nSeconds);
wxDbColDef *GetColDefs() { return colDefs; } wxDbColDef *GetColDefs() { return colDefs; }
void SetColDefs(int index, const wxString &fieldName, int dataType, void *pData, int cType, void SetColDefs(int index, const wxString &fieldName, int dataType,
void *pData, int cType,
int size, bool keyField = FALSE, bool upd = TRUE, int size, bool keyField = FALSE, bool upd = TRUE,
bool insAllow = TRUE, bool derivedCol = FALSE); bool insAllow = TRUE, bool derivedCol = FALSE);
wxDbColDataPtr *SetColDefs(wxDbColInf *colInfs, ULONG numCols); wxDbColDataPtr *SetColDefs(wxDbColInf *colInfs, ULONG numCols);