Tizen 2.1 base
[sdk/ide/native-sample.git] / samples / native / cpp / Sample / Tizen C++ / CipherMessage / CipherMessage / project / inc / FormMgr.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://www.tizenopensource.org/license
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 #ifndef _FORMMGR_H_
19 #define _FORMMGR_H_
20
21 #include <FApp.h>
22 #include <FBase.h>
23 #include <FUi.h>
24
25 class FormMgr :
26         public Osp::Ui::Controls::Form
27 {
28 public:
29         FormMgr(void);
30         virtual ~FormMgr(void);
31
32 public:
33         bool Initialize();
34         static const RequestId PUSH_FORM1 = 100;
35         static const RequestId PUSH_FORM2 = 101;
36         static const RequestId PUSH_FORM3 = 102;
37         static const RequestId PUSH_FORM4 = 103;
38         static const RequestId POP_FORM = 104;
39
40 protected:
41         Osp::Ui::Controls::Form *__pPreviousForm;
42         Osp::Base::Collection::Stack __stackForm;
43
44 public:
45         virtual void OnUserEventReceivedN(RequestId requestId, Osp::Base::Collection::IList* pArgs);
46 };
47
48 #endif /* FORMMGR_H_ */