00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __CALARM_IFACE_H_
00025 #define __CALARM__IFACE_H_
00026
00027
00028 #include <string>
00029 #include "time.h"
00030
00031
00032 using namespace std;
00033 using std::string;
00034
00040 class CAlarmIface{
00041
00042 public:
00043
00061 virtual long addAlarmEvent(time_t event_time, string message,
00062 string location, time_t dateStart,
00063 time_t dateEnd, string compId, int iCalendarId,
00064 string szDescription,int iType,bool allday,string szZone,int& pErrorCode) = 0;
00065
00066
00076 virtual int deleteAlarmEvent(long cookie,int& pErrorCode)= 0;
00077
00096 virtual long modifyAlarmEvent(long oldcookie, time_t modify_time,
00097 string message, string location, time_t dateStart,
00098 time_t dateEnd, string sCompId, int iCalendarId,
00099 string szDescription,int iType,bool allday,string szZone,
00100 int& pErrorCode)= 0;
00101
00102 CAlarmIface();
00103
00104 virtual ~CAlarmIface();
00105 };
00106
00107 #endif