License and Privilege changes
[apps/osp/Call.git] / inc / CallSpeedDialInfo.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                CallSpeedDialInfo.h
19  * @brief               This is the header file for the %SpeedDialInfo class.
20  *
21  * This header file contains the declarations for %SpeedDialInfo class.
22  */
23 #ifndef _PHN_SPEED_DIAL_INFO_H_
24 #define _PHN_SPEED_DIAL_INFO_H_
25
26 #include <FBase.h>
27 #include "CallSettingsConstants.h"
28
29 /**
30  * @class SpeedDialInfo
31  * @brief This class holds information about speed dial mappings fetched/stored from database.
32  *
33  */
34 class SpeedDialInfo
35         : public Tizen::Base::Object
36 {
37
38 public:
39         // Default Constructor
40         SpeedDialInfo(void);
41         virtual ~SpeedDialInfo(void);
42         /**
43          * This is the equality operator for this SpeedDialInfo.
44          * returns true, if both have same value for call handle.
45          *
46          * @param[in]   rhs     A reference to the %SpeedDialInfo instance
47          */
48         bool operator ==(const SpeedDialInfo& rhs) const;
49
50         /**
51          * This is the InEquality operator for this SpeedDialInfo.
52          * returns true, if value for call handle is different.
53          *
54          * @param[in]   rhs     A reference to the %SpeedDialInfo instance
55          */
56         bool operator !=(const SpeedDialInfo& rhs) const;
57
58         /**
59          * This is the assignment operator for this class.
60          * @param[in]   rhs     A reference to the %SpeedDialInfo instance
61          */
62         SpeedDialInfo& operator =(const SpeedDialInfo& rhs);
63
64 public:
65         int rowId;
66         int keyMapping;
67         Tizen::Base::String contactId;
68 };
69
70 #endif // _PHN_SPEED_DIAL_INFO_H_