Initialize Tizen 2.3
[framework/osp/social.git] / src / FScl_CalendarbookDbChangeEventArg.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 /**
17  * @file        FScl_CalendarbookDbChangeEventArg.h
18  * @brief       This is the header file for the _CalendarbookDbChangeEventArg class.
19  *
20  * This file contains the declarations of _CalendarbookDbChangeEventArg.
21  */
22
23 #ifndef _FSCL_INTERNAL_CALENDARBOOK_DB_CHANGE_EVENT_ARG_H_
24 #define _FSCL_INTERNAL_CALENDARBOOK_DB_CHANGE_EVENT_ARG_H_
25
26 #include <FBaseObject.h>
27 #include <FBaseRtIEventArg.h>
28 #include <FSclRecord.h>
29
30 namespace Tizen { namespace Social
31 {
32
33 enum _CalendarbookDbChangeType
34 {
35         _CALENDARBOOK_DB_CHANGE_TYPE_EVENT,
36         _CALENDARBOOK_DB_CHANGE_TYPE_TODO
37 };
38
39 class _CalendarbookDbChangeEventArg
40         : public Tizen::Base::Object
41         , public Tizen::Base::Runtime::IEventArg
42 {
43 public:
44         /**
45          * This is the default constructor of this class
46          */
47         _CalendarbookDbChangeEventArg(_CalendarbookDbChangeType changeType);
48
49         /**
50          * This destructor overrides Tizen::Base::Object::~Object().
51          */
52         virtual ~_CalendarbookDbChangeEventArg(void);
53
54         _CalendarbookDbChangeType GetChangeType(void) const;
55
56 private:
57         /**
58          * The implementation of this copy constructor is intentionally blank and declared as private @n
59          * to prohibit copying of objects.
60          */
61         _CalendarbookDbChangeEventArg(const _CalendarbookDbChangeEventArg& rhs);
62
63         /**
64          * The implementation of this copy assignment operator is intentionally blank and declared as private @n
65          * to prohibit copying of objects.
66          */
67         _CalendarbookDbChangeEventArg& operator =(const _CalendarbookDbChangeEventArg& rhs);
68
69 private:
70         _CalendarbookDbChangeType __changeType;
71 };
72
73 }} // Tizen::Social
74
75 #endif // _FSCL_INTERNAL_CALENDARBOOK_DB_CHANGE_EVENT_ARG_H_