2 // Open Service Platform
3 // Copyright (c) 2012 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.
19 * @file FWebCtrl_WebImpl.cpp
20 * @brief The file contains the definition of _WebImpl class.
22 * The file contains the definition of _WebImpl class.
24 #include <FBaseSysLog.h>
25 #include <FApp_AppImpl.h>
26 #include "FWebCtrl_WebPresenter.h"
29 namespace Tizen { namespace Web { namespace Controls
33 _WebPresenter::_WebPresenter(void)
45 _WebPresenter::~_WebPresenter(void)
51 _WebPresenter::InitAsyncProcess(void)
63 _WebPresenter::WaitAsyncProcess(bool& result)
72 _WebPresenter::WaitAsyncProcess(Tizen::Base::String& result)
81 _WebPresenter::WaitAsyncProcess(int& result)
90 _WebPresenter::WaitAsyncProcess()
99 _WebPresenter::WaitAsyncProcess(long& result)
103 result = __longInteger;
108 _WebPresenter::ProcessEvent(void)
117 if (Tizen::App::_AppImpl::IsTerminationRequested())
122 ecore_main_loop_iterate();
128 _WebPresenter::EndAsyncProcess(const Tizen::Base::String& result)
130 __string = const_cast< Tizen::Base::String& >(result);
136 _WebPresenter::EndAsyncProcess(bool result)
144 _WebPresenter::EndAsyncProcess(int result)
152 _WebPresenter::EndAsyncProcess(const Eina_List* result)
154 __pIList = const_cast<Eina_List*>(result);
160 _WebPresenter::EndAsyncProcess(long result)
162 __longInteger = result;
167 }}} // Tizen::Web::Controls