/[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.3 - (show annotations)
Fri Apr 1 11:16:29 2005 UTC (13 years, 6 months ago) by riso
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -0 lines
File MIME type: text/plain
Celkova suma

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 int nPersons();
26 int nEntries();
27 void *getRow(int r);
28 long GlobalSum();
29
30 char **Completion(char *name, char *surname);
31
32 #endif

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