1.Changed appcontrol parameters of contacts 2.GUI changes 3.Changes to alert tone...
[apps/osp/Call.git] / inc / CallPhoneFormFactory.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                CallPhoneFormFactory.h
19  * @brief               This is the header file for the %FormFactory class.
20  *
21  * This header file contains the declarations for %FormFactory class.
22  */
23 #ifndef _PHN_PHONE_FORM_FACTORY_H_
24 #define _PHN_PHONE_FORM_FACTORY_H_
25
26 #include <FUi.h>
27 #include "CallBaseForm.h"
28
29 //Corresponding Call form name
30 extern const wchar_t* IDL_FORM_OUTCALL;
31 extern const wchar_t* IDL_FORM_OUT_EMERGENCYCALL;
32 extern const wchar_t* IDL_FORM_INCOMINGCALL;
33 extern const wchar_t* IDL_FORM_ACTIVECALL;
34 extern const wchar_t* IDL_FORM_ACTIVE_EMERGENCYCALL;
35 extern const wchar_t* IDL_FORM_CONFCALL;
36 extern const wchar_t* IDL_FORM_CONFCALLLIST;
37 extern const wchar_t* IDL_FORM_ENDCALL;
38 extern const wchar_t* IDL_FORM_MULTIPLEACTIVECALL;
39 //Corresponding Settings form name
40 extern const wchar_t* IDL_FORM_SETTINGS_PREFIX;
41 extern const wchar_t* IDL_FORM_MAIN_SETTING_MENU;
42 extern const wchar_t* IDL_FORM_CALL_REJECTLIST_MENU;
43 extern const wchar_t* IDL_FORM_CALL_REJECTMSGS_MENU;
44 extern const wchar_t* IDL_FORM_SPEED_DIAL;
45 extern const wchar_t* IDL_FORM_MORE_OPTIONS;
46 extern const wchar_t* IDL_FORM_CALL_STATUSTONES;
47 extern const wchar_t* IDL_FORM_CALLTYPE_FORWARD;
48 extern const wchar_t* IDL_FORM_CALL_FORWARD_OPTIONS;
49 extern const wchar_t* IDL_FORM_CALLTYPE_BARRING;
50 extern const wchar_t* IDL_FORM_CALL_BARRING_OPTIONS;
51 extern const wchar_t* IDL_FORM_CALL_WAITING_OPTIONS;
52 extern const wchar_t* IDL_FORM_ADD_REJECT_NUMBER;
53 extern const wchar_t* IDL_FORM_AUTO_AREA_CODE;
54 extern const wchar_t* IDL_FORM_ADD_REJECT_MSG;
55 extern const wchar_t* IDL_FORM_EDIT_REJECT_MSG;
56 extern const wchar_t* IDL_FORM_FORWARD_TO_NUMBER;
57 extern const wchar_t* IDL_FORM_NOREPLY_FORWARD_TO_NUMBER;
58 extern const wchar_t* IDL_FORM_SCENE_SET_BARRING_PWD;
59 extern const wchar_t* IDL_FORM_DEL_NUMBER;
60 extern const wchar_t* IDL_FORM_DEL_MESSAGE;
61 //Dialer & Call Log Form names
62 extern const wchar_t* IDL_FORM_DIAL_APP;
63 extern const wchar_t* IDL_FORM_CALL_LOG_DETAIL;
64
65 /**
66  * @class FormFactory
67  * @brief This class presents a form factory functionality for all forms.
68  *
69  */
70 class FormFactory
71         : public Tizen::Ui::Scenes::IFormFactory
72 {
73 public:
74         FormFactory(void);
75         virtual ~FormFactory(void);
76
77         //Factory Method from IFormFactory
78         virtual Tizen::Ui::Controls::Form* CreateFormN(const Tizen::Base::String& formId, const Tizen::Ui::Scenes::SceneId& sceneId);
79
80 private:
81         //Used to create forms related to Voice Call module
82         Tizen::Ui::Controls::Form* CreateVoiceCallForm(const Tizen::Base::String& formId, const Tizen::Ui::Scenes::SceneId& sceneId);
83 };
84
85 #endif // _PHN_PHONE_FORM_FACTORY_H_