/[cvs]/dary/db_view.h
ViewVC logotype

Contents of /dary/db_view.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Oct 5 19:56:29 2004 UTC (14 years, 4 months ago) by riso
Branch: riso
CVS Tags: init
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Initial import


1 #ifndef __db_view_h
2 #define __db_view_h
3
4 #include "db.h"
5
6 #define UPD_INSERT 1
7 #define UPD_DELETE 2
8 #define UPD_UPDATE 3
9
10 #define MODE_PERSONS 1
11 #define MODE_ENTRIES 2
12 #define SORT_NAME 1
13 #define SORT_DATE 2
14 #define SORT_SUM 3
15
16 void UpdateViewPerson(tPersonId id, int action);
17 void UpdateViewEntry(tEntryId id, int action);
18 void ResetView(); // finish update
19 void InitView(); // delete and initialize
20 void DeleteView(); // delete and initialize
21
22 void SetMode(int _mode);
23 void SetSort(int _sort);
24 int nRows();
25 void *getRow(int r);
26
27 char **Completion(char *name, char *surname);
28
29 #endif

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26