2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FSclCalEventChangeInfo.h
19 * @brief This is the header file for the %CalEventChangeInfo class.
21 * This header file contains the declarations of the %CalEventChangeInfo class.
23 #ifndef _FSCL_CAL_EVENT_CHANGE_INFO_H_
24 #define _FSCL_CAL_EVENT_CHANGE_INFO_H_
26 #include <FBaseObject.h>
27 #include <FSclTypes.h>
29 namespace Tizen { namespace Social
33 * @class CalEventChangeInfo
34 * @brief This class represents the calendar event change information.
38 * @final This class is not intended for extension.
40 * The %CalEventChangeInfo class represents the change information of an event that is managed in calendarbook.
42 class _OSP_EXPORT_ CalEventChangeInfo
43 : public Tizen::Base::Object
47 * This is the default constructor for this class.
51 CalEventChangeInfo(void);
54 * Copying of objects using this copy constructor is allowed.
58 * @param[in] rhs An instance of %CalEventChangeInfo
60 CalEventChangeInfo(const CalEventChangeInfo& rhs);
63 * This destructor overrides Tizen::Base::Object::~Object().
67 virtual ~CalEventChangeInfo(void);
70 * Compares the input Tizen::Base::Object with the calling %CalEventChangeInfo instance.
74 * @return @c true if the input object equals the calling %CalEventChangeInfo instance, @n
76 * @param[in] rhs The object instance to compare with the calling object
79 virtual bool Equals(const Tizen::Base::Object& rhs) const;
82 * Gets the hash value of the current instance.
86 * @return The hash value of the current instance
88 virtual int GetHashCode(void) const;
91 * Gets the change type.
95 * @return The change type
97 RecordChangeType GetChangeType(void) const;
100 * Gets the changed event ID.
104 * @return The changed event ID
106 RecordId GetEventId(void) const;
109 * Gets the calendar ID to which the changed event belongs.
113 * @return The calendar ID to which the changed event belongs
115 RecordId GetCalendarId(void) const;
118 * Gets the version of the change.
122 * @return The version of the change
124 int GetVersion(void) const;
127 * Copying of objects using this copy assignment operator is allowed.
131 * @param[in] rhs An instance of %CalEventChangeInfo
133 CalEventChangeInfo& operator =(const CalEventChangeInfo& rhs);
136 friend class _CalEventChangeInfoImpl;
137 class _CalEventChangeInfoImpl* __pCalEventChangeInfoImpl;
139 }; // CalEventChangeInfo
143 #endif // _FSCL_CAL_EVENT_CHANGE_INFO_H_