License and Privilege changes
[apps/osp/Call.git] / inc / CallRejectInfo.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 /**
18  * @file                CallRejectInfo.h
19  * @brief               This is the header file for the %CallRejectInfo class.
20  *
21  * This header file contains the declarations for %CallRejectInfo class.
22  */
23 #ifndef _PHN_CALL_REJECT_INFO_H_
24 #define _PHN_CALL_REJECT_INFO_H_
25
26 #include <FBase.h>
27 #include "CallSettingsConstants.h"
28
29 /**
30  * @class CallRejectInfo
31  * @brief This class holds information about currently active Single party calls.
32  *
33  */
34 class CallRejectInfo
35         : public Tizen::Base::Object
36 {
37
38 public:
39         // Default Constructor
40         CallRejectInfo(void);
41         virtual ~CallRejectInfo(void);
42         /**
43          * This is the equality operator for this CallRejectInfo.
44          * returns true, if both have same value for call handle.
45          *
46          * @param[in]   rhs     A reference to the %CallRejectInfo instance
47          */
48         bool operator ==(const CallRejectInfo& rhs) const;
49
50         /**
51          * This is the InEquality operator for this CallRejectInfo.
52          * returns true, if value for call handle is different.
53          *
54          * @param[in]   rhs     A reference to the %CallRejectInfo instance
55          */
56         bool operator !=(const CallRejectInfo& rhs) const;
57
58         /**
59          * This is the assignment operator for this class.
60          * @param[in]   rhs     A reference to the %CallRejectInfo instance
61          */
62         CallRejectInfo& operator =(const CallRejectInfo& rhs);
63
64 public:
65         int rowId;
66         Tizen::Base::String phoneNumber;
67         CallRejectMatchCondition rejectCondition;
68         bool isActivated;
69 };
70
71 #endif // _PHN_CALL_REJECT_INFO_H_