|
From: Audoux <au...@us...> - 2001-01-03 08:32:49
|
Update of /cvsroot/attal/src/common
In directory usw-pr-cvs1:/tmp/cvs-serv10810
Modified Files:
calendar.h calendar.cpp
Log Message:
add comments
Index: calendar.h
===================================================================
RCS file: /cvsroot/attal/src/common/calendar.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** calendar.h 2001/01/02 23:59:51 1.2
--- calendar.h 2001/01/03 08:32:46 1.3
***************
*** 49,60 ****
--- 49,65 ----
Calendar();
+ /** set date to first day (first week, first month) */
void reinit();
+ /** go to next day */
void newDay();
+ /** return the current day */
int getDay() { return _day; }
+ /** return the current week */
int getWeek() { return _week; }
+ /** return the current month */
int getMonth() { return _month; }
Index: calendar.cpp
===================================================================
RCS file: /cvsroot/attal/src/common/calendar.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** calendar.cpp 2001/01/03 00:00:18 1.2
--- calendar.cpp 2001/01/03 08:32:46 1.3
***************
*** 60,62 ****
}
}
-
--- 60,61 ----
|