2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FTel_SimInfoImpl.h
19 * @brief This is the header file for the %_SimInfoImpl class.
21 * This header file contains the declarations of the %_SimInfoImpl class.
23 #ifndef _FTEL_INTERNAL_SIM_INFO_IMPL_H_
24 #define _FTEL_INTERNAL_SIM_INFO_IMPL_H_
27 #include <FBaseObject.h>
30 namespace Tizen { namespace Base
35 namespace Tizen { namespace Telephony
38 class _TelephonyIpcProxy;
41 : public Tizen::Base::Object
45 * This is the default constructor for this class.
52 * This is the copy constructor for the %_SimInfoImpl class.
55 * @param[in] rhs An instance of the %_SimInfoImpl class
57 _SimInfoImpl(const _SimInfoImpl& rhs);
60 * This is the destructor for this class.
64 virtual ~_SimInfoImpl(void);
67 * @see SimInfo::Construct()
69 result Construct(void);
72 * @see SimInfo::GetMnc()
74 int GetMnc(void) const;
77 * @see SimInfo::GetMcc()
79 int GetMcc(void) const;
82 * @see SimInfo::GetSpn()
84 Tizen::Base::String GetSpn(void) const;
87 * @see SimInfo::GetIccId()
89 Tizen::Base::String GetIccId(void) const;
92 * @see SimInfo::GetOperatorName()
94 Tizen::Base::String GetOperatorName(void) const;
97 * @see SimInfo::GetPhoneNumber()
99 Tizen::Base::String GetPhoneNumber(void) const;
102 * @see SimInfo::GetImsi()
104 Tizen::Base::String GetImsi(void) const;
107 * @see SimInfo::GetSimType()
109 SimType GetSimType(void) const;
112 * @see SimInfo::IsAvailable()
114 bool IsAvailable(void) const;
117 * Gets the Impl instance.
120 * @return The pointer to _SimInfoImpl
121 * @param[in] simInfo An instance of SimInfo
123 static _SimInfoImpl* GetInstance(SimInfo& simInfo);
126 * Gets the Impl instance.
129 * @return The pointer to _SimInfoImpl
130 * @param[in] simInfo An instance of SimInfo
132 static const _SimInfoImpl* GetInstance(const SimInfo& simInfo);
135 * This is the assignment operator for this class. Do @b not use directly.
137 * @param[in] rhs An instance of %_SimInfoImpl
139 _SimInfoImpl& operator =(const _SimInfoImpl& rhs);
142 * @see SimInfo::Equals()
144 virtual bool Equals(const Tizen::Base::Object& rhs) const;
147 * @see SimInfo::GetHashCode()1
149 virtual int GetHashCode(void) const;
154 Tizen::Base::String __iccId;
155 Tizen::Base::String __imsi;
156 Tizen::Base::String __operatorName;
157 Tizen::Base::String __phoneNumber;
158 Tizen::Base::String __spn;
164 bool __isOperatorNameValid;
165 bool __isPhoneNumberValid;
167 bool __isSimTypeValid;
169 friend class _SimStateManagerImpl;
173 }} // Tizen::Telephony
174 #endif // _FTEL_INTERNAL_SIM_INFO_IMPL_H_