Synchronized tizen_2.1 branch with master
[platform/framework/native/telephony.git] / src / FTel_SimEventArg.cpp
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16 //
17 /**
18  * @file        FTel_SimEventArg.cpp
19  * @brief       This is the implementation file for the %_SimEventArg class.
20  *
21  * This file contains the implementation of the %_SimEventArg class.
22  */
23
24 #include <FBaseErrorDefine.h>
25 #include "FTel_SimEventArg.h"
26
27 namespace Tizen { namespace Telephony
28 {
29
30 _SimEventArg::_SimEventArg(void)
31         : __eventType(_SIM_EVENT_NONE)
32         , __simState(SIM_STATE_UNKNOWN)
33 {
34 }
35
36 _SimEventArg::_SimEventArg(_SimEventType type, SimState state)
37         : __eventType(type)
38         , __simState(state)
39 {
40 }
41
42 _SimEventType
43 _SimEventArg::GetEventType(void) const
44 {
45         return __eventType;
46 }
47
48 SimState
49 _SimEventArg::GetSimState(void) const
50 {
51     return __simState;
52 }
53
54 } } // Tizen::Telephony