vdkxdb 2.4.0
Main Page
Classes
Files
File List
include
vdkxdb2
vdkxctrl.h
1
/*
2
* ===========================
3
* VDK Visual Development Kit
4
* xdb subsystem
5
* Version 0.1
6
* Revision 0.0
7
* April 2000
8
* ===========================
9
*
10
* Copyright (C) 1998, Mario Motta
11
* Developed by Mario Motta <mmotta@guest.net>
12
*
13
* This library is free software; you can redistribute it and/or
14
* modify it under the terms of the GNU Library General Public
15
* License as published by the Free Software Foundation; either
16
* version 2 of the License, or (at your option) any later version.
17
*
18
* This library is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
* Library General Public License for more details.
22
*
23
* You should have received a copy of the GNU Library General Public
24
* License along with this library; if not, write to the Free Software
25
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26
* 02111-1307, USA.
27
*/
28
29
#ifndef _vdkxdbctrl_h
30
#define _vdkxdbctrl_h
31
#include <xbase/xbase.h>
32
#include <vdkxdb2/vdkxtable.h>
33
34
// forward declaration
35
class
VDKXTable
;
36
49
class
VDKXControl
50
{
51
protected
:
53
VDKXTable
*
table
;
55
VDKString
field_name
;
57
xbShort
field_id
;
66
xbShort
field_type
;
67
public
:
68
70
VDKXControl
();
72
virtual
~VDKXControl
() {}
81
virtual
bool
AssignTableField
(
VDKXTable
*
table
,
char
* fieldname);
92
virtual
bool
AssignTableField
(
VDKXDatabase
* xdb,
93
char
* tablename,
94
char
* fieldname);
95
97
virtual
xbShort
Read
() {
return
XB_NO_ERROR; }
99
virtual
xbShort
Write
() {
return
XB_NO_ERROR; }
100
};
101
#endif
102
103
104
Generated on Mon Dec 3 2012 03:45:52 for vdkxdb 2.4.0 by
1.8.1.2