Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

vdkxentry.h

00001 /*
00002  * ===========================
00003  * VDK Visual Development Kit
00004  * xdb subsystem
00005  * Version 0.1
00006  * Revision 0.0
00007  * April 2000
00008  * ===========================
00009  *
00010  * Copyright (C) 1998, Mario Motta
00011  * Developed by Mario Motta <mmotta@guest.net>
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Library General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Library General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Library General Public
00024  * License along with this library; if not, write to the Free Software
00025  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00026  * 02111-1307, USA.
00027  */
00028 
00029 #ifndef _vdkxentry_h
00030 #define _vdkxentry_h
00031 #include <vdkxdb/vdkxctrl.h>
00032 #include <vdk/entry.h>
00033 
00034 
00041 class VDKXEntry: public VDKEntry, public VDKXControl
00042 {
00043  protected:
00044 
00045  public:
00046 
00053   VDKXEntry(VDKForm* owner, int maxLen = 0, char* def = NULL);
00055   virtual ~VDKXEntry() {}
00059   virtual xbShort Read();
00063   virtual xbShort Write(); 
00074   virtual bool AssignTableField(VDKXTable* table,char* fname);
00075   bool AssignTableField(VDKXDatabase* xdb,
00076                                 char* tablename,
00077                                 char* fieldname)
00078     { 
00079       return VDKXControl::AssignTableField(xdb,tablename,fieldname);
00080     }
00081 
00082 
00083 };
00084 #endif

Generated on Fri Jul 26 03:12:18 2002 for vdkxdb 0.0.4 by doxygen1.2.16