f3c2e931823c92c8a5ffbc734d81f11f18be2410
[framework/osp/web.git] / src / controls / FWebCtrl_WebPresenter.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 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 /**
19  * @file                FWebCtrl_WebImpl.h
20  * @brief               The file contains the declaration of _WebImpl class.
21  *
22  * The file contains the declaration of _WebImpl class.
23  */
24 #ifndef _FWEB_CTRL_INTERNAL_WEB_PRESENTER_H_
25 #define _FWEB_CTRL_INTERNAL_WEB_PRESENTER_H_
26
27 #include <FBaseString.h>
28
29 namespace Tizen { namespace Web { namespace Controls
30 {
31
32 class _WebPresenter
33         : public Tizen::Base::Object
34 {
35 // Lifecycle
36 public:
37         _WebPresenter(void);
38
39         virtual ~_WebPresenter(void);
40
41 // Operations
42 public:
43         void InitAsyncProcess(void);
44
45         void WaitAsyncProcess(bool& result);
46         void WaitAsyncProcess(Tizen::Base::String& result);
47         void WaitAsyncProcess(int& result);
48         void WaitAsyncProcess(Eina_List* result);
49         void WaitAsyncProcess(long& result);
50
51         void EndAsyncProcess(bool result);
52         void EndAsyncProcess(const Tizen::Base::String& result);
53         void EndAsyncProcess(int result);
54         void EndAsyncProcess(const Eina_List* result);
55         void EndAsyncProcess(long result);
56
57 private:
58         _WebPresenter(const _WebPresenter& rhs);
59
60         _WebPresenter& operator =(const _WebPresenter& rhs);
61
62         void ProcessEvent(void);
63 //Attribute
64 private:
65         bool __stopState;
66
67         bool __boolean;
68         Tizen::Base::String __string;
69         int __integer;
70         Eina_List* __pIList;
71         long __longInteger;
72 };
73
74 }}} // Tizen::Web::Controls
75 #endif // _FWEB_CTRL_INTERNAL_WEB_PRESENTER_H_