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_NetworkStatusImpl.h
19 * @brief This is the header file for the _NetworkStatusImpl class.
21 * This header file contains the declarations of the _NetworkStatusImpl class.
23 #ifndef _FTEL_INTERNAL_NETWORK_STATUS_IMPL_H_
24 #define _FTEL_INTERNAL_NETWORK_STATUS_IMPL_H_
27 #include <FBaseObject.h>
30 namespace Tizen { namespace Telephony
34 class _NetworkStatusImpl
35 : public Tizen::Base::Object
39 * This is the default constructor for this class.
43 _NetworkStatusImpl(void);
46 * This is the destructor for this class.
50 virtual ~_NetworkStatusImpl(void);
53 * This is the copy constructor for this class.
55 * @param[in] rhs An instance of %_NetworkStatusImpl
57 _NetworkStatusImpl(const _NetworkStatusImpl& rhs);
60 * @see NetworkStatus::IsRoaming()
62 bool IsRoaming(void) const;
65 * @see NetworkStatus::IsCallServiceAvailable()
67 bool IsCallServiceAvailable(void) const;
70 * @see NetworkStatus::IsDataServiceAvailable()
72 bool IsDataServiceAvailable(void) const;
75 * Sets the current state of roaming.
77 * @param[in] isRoaming The current state of roaming
79 void SetIsRoaming(bool isRoaming);
82 * Sets the current state whether call service is available.
84 * @param[in] isCallServiceAvailable The current state whether call service is available
86 void SetIsCallServiceAvailable(bool isCallServiceAvailable);
89 * Sets the current state whether date service is available.
91 * @param[in] isDataServiceAvailable The current state whether date service is available
93 void SetIsDataServiceAvailable(bool isDataServiceAvailable);
96 * Gets the Impl instance.
99 * @return The pointer to _NetworkStatusImpl
100 * @param[in] networkStatus An instance of NetworkStatus
102 static _NetworkStatusImpl* GetInstance(NetworkStatus& networkStatus);
105 * Gets the Impl instance.
108 * @return The pointer to _NetworkStatusImpl
109 * @param[in] networkStatus An instance of NetworkStatus
111 static const _NetworkStatusImpl* GetInstance(const NetworkStatus& networkStatus);
115 * This is the assignment operator for this class. Do @b not use directly.
117 * @param[in] rhs An instance of %_NetworkStatusImpl
119 _NetworkStatusImpl& operator =(const _NetworkStatusImpl& rhs);
123 bool __isCallServiceAvailable;
124 bool __isDataServiceAvailable;
126 }; // _NetworkStatusImpl
128 }} // Tizen::Telephony
129 #endif // _FTEL_INTERNAL_NETWORK_STATUS_IMPL_H_