diff options
author | Frederic Culot <calcurse@culot.org> | 2006-08-01 20:34:44 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-08-01 20:34:44 +0000 |
commit | 3a93c079f9e52ad83101101d8abcf73b5196b8da (patch) | |
tree | 2b5b5193e3908ba136d2c20a6acd86ec29fd2bd9 | |
parent | 54af01a64bf939744f49cc4fac5940aa7ff2e362 (diff) | |
download | calcurse-3a93c079f9e52ad83101101d8abcf73b5196b8da.tar.gz calcurse-3a93c079f9e52ad83101101d8abcf73b5196b8da.zip |
MAX_TYPES added
-rwxr-xr-x | src/day.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: day.h,v 1.1 2006/07/31 21:00:03 culot Exp $ */ +/* $calcurse: day.h,v 1.2 2006/08/01 20:34:44 culot Exp $ */ /* * Calcurse - text-based organizer @@ -29,6 +29,8 @@ #include "apoint.h" +#define MAX_TYPES 4 + #define RECUR_EVNT 1 #define EVNT 2 #define RECUR_APPT 3 @@ -62,5 +64,6 @@ void day_write_pad(long date, int width, int length, int incolor, int colr); struct apoint_s *day_item_s2apoint_s(struct day_item_s *p); void day_popup_item(void); int day_check_if_item(int year, int month, int day); +int day_erase_item(long date, int item_number); #endif /* CALCURSE_DAY_H */ |