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_NetworkSettingEventArg.cpp
19 * @brief This is the implementation file for the %_NetworkSettingEventArg class.
21 * This file contains the implementation of the %_NetworkSettingEventArg class.
24 #include <FBaseErrorDefine.h>
25 #include <FBaseColArrayList.h>
26 #include "FTel_NetworkSettingEventArg.h"
28 namespace Tizen { namespace Telephony
31 _NetworkSettingEventArg::_NetworkSettingEventArg(void)
33 , __eventType(_NETWORK_EVENT_NONE)
35 , __pNetworkInfoList(null)
39 _NetworkSettingEventArg::_NetworkSettingEventArg(_NetworkSettingEventType networkType, bool isManual, result r)
41 , __eventType(networkType)
42 , __isManual(isManual)
43 , __pNetworkInfoList(null)
48 _NetworkSettingEventArg::_NetworkSettingEventArg(_NetworkSettingEventType networkType, result r)
50 , __eventType(networkType)
52 , __pNetworkInfoList(null)
57 _NetworkSettingEventArg::_NetworkSettingEventArg(_NetworkSettingEventType networkType, Tizen::Base::Collection::IList* pNetworkInfoList, result r)
59 , __eventType(networkType)
61 , __pNetworkInfoList(pNetworkInfoList)
67 _NetworkSettingEventArg::~_NetworkSettingEventArg(void)
69 if (__pNetworkInfoList != null)
71 __pNetworkInfoList->RemoveAll(true);
72 delete __pNetworkInfoList;
78 _NetworkSettingEventArg::GetError(void) const
83 _NetworkSettingEventType
84 _NetworkSettingEventArg::GetEventType(void) const
90 _NetworkSettingEventArg::GetIsManual(void) const
95 Tizen::Base::Collection::IList*
96 _NetworkSettingEventArg::GetNetworkInfoList(void) const
98 return __pNetworkInfoList;
102 } } // Tizen::Telephony