include/CAlarmIface.h

Go to the documentation of this file.
00001 
00017 #ifndef __CALARM_IFACE_H_
00018 #define __CALARM__IFACE_H_
00019 
00020 /* Headers */
00021 #include <string>
00022 #include "time.h"
00023 
00024 
00025 using namespace std;
00026 using std::string;
00027 
00033 class CAlarmIface{
00034 
00035   public:
00036 
00054     virtual long addAlarmEvent(time_t event_time, string message,
00055                    string location, time_t dateStart,
00056                    time_t dateEnd, string compId, int iCalendarId,
00057                    string szDescription,int iType,int& pErrorCode) = 0;
00058 
00059 
00069     virtual int deleteAlarmEvent(long cookie,int& pErrorCode)= 0;
00070 
00089     virtual long modifyAlarmEvent(long oldcookie, time_t modify_time,
00090                   string message, string location, time_t dateStart,
00091                   time_t dateEnd, string sCompId, int iCalendarId,
00092                   string szDescription,int iType,int& pErrorCode)= 0;
00093     /* default constructor */
00094     CAlarmIface();
00095     /* virtual destructor */
00096     virtual ~CAlarmIface();
00097 };
00098 
00099 #endif

Generated on Tue Feb 24 16:21:31 2009 for calendar-backend by  doxygen 1.5.1