Patch level : 2.1 nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@12132 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2004-06-03 08:10:26 +00:00
parent 5ded7ebabd
commit cf2a2b0525
3 changed files with 126 additions and 51 deletions

64
include/bagn008.uml Executable file
View File

@ -0,0 +1,64 @@
TOOLBAR "Toolbar" 0 -2 0 2
BUTTON DLG_PRINT 10 2
BEGIN
PROMPT -15 -1 "~Stampa"
PICTURE BMP_PRINT
MESSAGE EXIT,K_ENTER
END
BUTTON DLG_EDIT 10 2
BEGIN
PROMPT -25 -1 "~Edit"
PICTURE BMP_EDIT
END
BUTTON DLG_PREVREC 3
BEGIN
PROMPT -45 -2 ""
PICTURE 122
END
BUTTON DLG_FIRSTREC 3
BEGIN
PROMPT -45 -1 ""
PICTURE 121
END
BUTTON DLG_FINDREC 10 2
BEGIN
PROMPT -45 -1 ""
PICTURE 166
END
BUTTON DLG_NEXTREC 3
BEGIN
PROMPT -45 -2 ""
PICTURE 124
END
BUTTON DLG_LASTREC 3
BEGIN
PROMPT -45 -1 ""
PICTURE 125
END
BUTTON DLG_QUIT 10 2
BEGIN
PROMPT -55 -1 "~Fine"
PICTURE BMP_QUIT
END
ENDPAGE
PAGE "Anteprima" -1 -1 60 13
PREVIEW DLG_USER -3 -1
BEGIN
PROMPT 0 0 ""
END
ENDPAGE
ENDMASK

View File

@ -10,62 +10,73 @@
#include <extctype.h>
#endif
#ifdef WIN32
#ifdef _USRDLL
#define CBDLL __declspec(dllexport)
#else
#define CBDLL __declspec(dllimport)
#endif
#else
#define CBDLL
#endif
/*--------------------------------------------------------------------------
prototipi funzioni
--------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C" {
#endif
void DB_init(void);
void DB_exit(void);
int DB_open(const char *filename,int mode,int index);
int DB_close(int handle);
char *DB_getrecord(int handle);
int DB_reclen(int handle);
int DB_keylen(int handle);
long int DB_recno(int handle);
long int DB_reccount(int handle);
int DB_tagselect(int handle,int index_no);
int DB_tagget(int handle);
int DB_first(int handle);
int DB_last(int handle);
int DB_next(int handle);
int DB_prev(int handle);
int DB_skip(int handle,long int recno);
int DB_lock(int handle);
int DB_unlock(int handle);
int DB_seek(int handle,char *key);
int DB_eof(int handle);
int DB_bof(int handle);
int DB_go(int handle,long int recno);
int DB_delete(int handle);
int DB_recall(int handle);
int DB_delkey(int handle, char* key, long recno);
int DB_flush(int handle);
int DB_rewrite(int handle);
bool DB_has_memo(int handle);
int DB_add(int handle);
int DB_lockfile(int handle); /* Per sbloccare il record basta la DB_unlock()*/
int DB_packfile(short vis, const char * filename, long eod);
int DB_packmemo(short vis, const char * filename);
int DB_packindex(short vis, const char * filename, RecDes *r, long *peod, bool ask );
int DB_build(const char * filename, RecDes *r);
int DB_recinfo(const char * filename, FileDes *d, RecDes *r, char* keys);
int DB_get_error(void);
void DB_zero_error(void);
int DB_index_seek(int handle, char* from);
long DB_index_recno(int handle);
long DB_index_next(int handle);
char* DB_index_getkey(int handle);
int DB_index_go(int handle, const char * key, long recno);
char* DB_memoptr(const int handle, const char * fieldname );
int DB_memowrite(const int handle, const char * fieldname, const char * data ) ;
int DB_index_eof(int handle);
int DB_lock_rec(int handle,long nrec);
int DB_file_locked(int handle);
int DB_rec_locked(int handle,long nrec);
long DB_getconf();
long DB_changed(int handle); /* returns true if the index of the key is changed */
CBDLL void DB_init(void);
CBDLL void DB_exit(void);
CBDLL int DB_open(const char *filename,int mode,int index);
CBDLL int DB_close(int handle);
CBDLL char *DB_getrecord(int handle);
CBDLL int DB_reclen(int handle);
CBDLL int DB_keylen(int handle);
CBDLL long int DB_recno(int handle);
CBDLL long int DB_reccount(int handle);
CBDLL int DB_tagselect(int handle,int index_no);
CBDLL int DB_tagget(int handle);
CBDLL int DB_first(int handle);
CBDLL int DB_last(int handle);
CBDLL int DB_next(int handle);
CBDLL int DB_prev(int handle);
CBDLL int DB_skip(int handle,long int recno);
CBDLL int DB_lock(int handle);
CBDLL int DB_unlock(int handle);
CBDLL int DB_seek(int handle,char *key);
CBDLL int DB_eof(int handle);
CBDLL int DB_bof(int handle);
CBDLL int DB_go(int handle,long int recno);
CBDLL int DB_delete(int handle);
CBDLL int DB_recall(int handle);
CBDLL int DB_delkey(int handle, char* key, long recno);
CBDLL int DB_flush(int handle);
CBDLL int DB_rewrite(int handle);
CBDLL bool DB_has_memo(int handle);
CBDLL int DB_add(int handle);
CBDLL int DB_lockfile(int handle); /* Per sbloccare il record basta la DB_unlock()*/
CBDLL int DB_packfile(short vis, const char * filename, long eod);
CBDLL int DB_packmemo(short vis, const char * filename);
CBDLL int DB_packindex(short vis, const char * filename, RecDes *r, long *peod, bool ask );
CBDLL int DB_build(const char * filename, RecDes *r);
CBDLL int DB_recinfo(const char * filename, FileDes *d, RecDes *r, char* keys);
CBDLL int DB_get_error(void);
CBDLL void DB_zero_error(void);
CBDLL int DB_index_seek(int handle, char* from);
CBDLL long DB_index_recno(int handle);
CBDLL long DB_index_next(int handle);
CBDLL char* DB_index_getkey(int handle);
CBDLL int DB_index_go(int handle, const char * key, long recno);
CBDLL char* DB_memoptr(const int handle, const char * fieldname );
CBDLL int DB_memowrite(const int handle, const char * fieldname, const char * data ) ;
CBDLL int DB_index_eof(int handle);
CBDLL int DB_lock_rec(int handle,long nrec);
CBDLL int DB_file_locked(int handle);
CBDLL int DB_rec_locked(int handle,long nrec);
CBDLL long DB_getconf();
CBDLL long DB_changed(int handle); /* returns true if the index of the key is changed */
#ifdef __cplusplus
};
#endif

View File

@ -233,7 +233,7 @@ public:
{ if (_test_fld < 0) _test_fld = id; }
void set_focus_field(short id);
void notify_focus_field(short id);
virtual void notify_focus_field(short id);
// @cmember Controlla i campi di una maschera (TRUE se tutti validi)
bool check_fields();