Fix the boiler plate codes
[framework/osp/social.git] / src / FScl_ContactDbChangeEventArg.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_ContactDbChangeEventArg.h
18  * @brief       This is the header file for the _ContactDbChangeEventArg class.
19  *
20  * This file contains the declarations of _ContactDbChangeEventArg.
21  */
22
23 #ifndef _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_
24 #define _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_
25
26 #include <FBaseObject.h>
27 #include <FSclRecord.h>
28 #include <FBaseRtIEventArg.h>
29
30 namespace Tizen { namespace Social
31 {
32
33 enum _ContactDbChangeType
34 {
35         _CONTACT_DB_CHANGE_TYPE_CONTACT,
36         _CONTACT_DB_CHANGE_TYPE_GROUP,
37         _CONTACT_DB_CHANGE_TYPE_RELATION,
38         _CONTACT_DB_CHANGE_TYPE_ADDRESSBOOK
39 };
40
41 class _ContactDbChangeEventArg
42         : public Tizen::Base::Object
43         , public Tizen::Base::Runtime::IEventArg
44 {
45 public:
46         /**
47          * Initializes this instance of %_ContactDbChangeEventArg with the specified value.
48          *
49          * @since       2.0
50          *
51          * @param[in]   value   A _ContactDbChangeType type
52          */
53         _ContactDbChangeEventArg(_ContactDbChangeType changeType);
54
55         /**
56          * This destructor overrides Tizen::Base::Object::~Object().
57          *
58          * @since       2.0
59          */
60         virtual ~_ContactDbChangeEventArg(void);
61
62         _ContactDbChangeType GetChangeType(void) const;
63
64 private:
65         /**
66          * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
67          *
68          * @since       2.0
69          */
70         _ContactDbChangeEventArg(const _ContactDbChangeEventArg& rhs);
71
72         /**
73          * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
74          *
75          * @since       2.0
76          */
77         _ContactDbChangeEventArg& operator =(const _ContactDbChangeEventArg& rhs);
78
79 private:
80         _ContactDbChangeType __changeType;
81 };
82
83 }} // Tizen::Social
84
85 #endif // _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_