00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00018
00019
00020
00021 #ifndef __MX_ICUSTOMDAY_H__
00022 #define __MX_ICUSTOMDAY_H__
00023
00024
00025
00026 #define MX_ICUSTOMDAY_ID "ICustomDay"
00027
00028
00029
00030 #include "IInterface.h"
00031
00032 #include <mxm/core/mxmString.h>
00033
00034 #include "../mx_error_codes.h"
00035
00036
00037 namespace mx {
00038
00040
00043 class ICustomDay : public virtual IInterface {
00044 public:
00045
00046
00047
00048
00049 virtual void setName(const mxmString& name) = 0;
00050
00051
00052 virtual mxmString name() = 0;
00056 virtual EErrorCode addDay(const mxmString& day) = 0;
00060 virtual EErrorCode addRange(const mxmString& from, const mxmString& to) = 0;
00061 };
00062 };
00063
00064
00065
00066 #endif // __MX_ICUSTOMDAY_H__