2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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.
17 #ifndef _FORMMANAGER_H_
\r
18 #define _FORMMANAGER_H_
\r
25 #include "MainForm.h"
\r
30 public Osp::Ui::Controls::Form
\r
34 virtual ~FormManager(void);
\r
36 bool Initialize(void);
\r
38 bool SetStarterForm(RequestId requestId, Osp::Base::Collection::IList* pArgs);
\r
39 virtual void OnUserEventReceivedN(RequestId requestId, Osp::Base::Collection::IList* pArgs);
\r
42 static const RequestId REQUEST_MAIN_FORM = 101;
\r
43 static const RequestId REQUEST_LONGPRESSFORM = 102;
\r
44 static const RequestId REQUEST_TAPFORM = 103;
\r
45 static const RequestId REQUEST_FLICKFORM = 104;
\r
46 static const RequestId REQUEST_PINCHFORM = 105;
\r
47 static const RequestId REQUEST_CUSTOMFORM = 106;
\r
48 static const RequestId REQUEST_PANNINGFORM = 107;
\r
49 static const RequestId REQUEST_ROTATIONFORM = 108;
\r
50 static const RequestId REQUEST_ROTATION_PANNINGFORM = 109;
\r
51 static const RequestId REQUEST_MAP = 110;
\r
52 static const RequestId REQUEST_ACCESSIBILITY = 111;
\r
53 static const RequestId REQUEST_TOUCH_RELATED= 112;
\r
56 void SwitchToForm(RequestId requestId, Osp::Base::Collection::IList* pArgs);
\r
57 Osp::Ui::Controls::Form* __pPreviousForm;
\r
58 MainForm* __pMainForm;
\r
62 #endif /* FORMMANAGER_H_ */
\r