1 /*
2 ========================================================================
3  Name        : pjsuaAppUi.h
4  Author      : nanang
5  Copyright   : Copyright (C) 2013 Teluu Inc. (http://www.teluu.com)
6  Description :
7 ========================================================================
8 */
9 #ifndef PJSUAAPPUI_H
10 #define PJSUAAPPUI_H
11 
12 // [[[ begin generated region: do not modify [Generated Includes]
13 #include <aknviewappui.h>
14 // ]]] end generated region [Generated Includes]
15 
16 
17 // [[[ begin generated region: do not modify [Generated Forward Declarations]
18 class CpjsuaContainerView;
19 // ]]] end generated region [Generated Forward Declarations]
20 
21 /**
22  * @class	CpjsuaAppUi pjsuaAppUi.h
23  * @brief The AppUi class handles application-wide aspects of the user interface, including
24  *        view management and the default menu, control pane, and status pane.
25  */
26 class CpjsuaAppUi : public CAknViewAppUi
27 	{
28 public:
29 	// constructor and destructor
30 	CpjsuaAppUi();
31 	virtual ~CpjsuaAppUi();
32 	void ConstructL();
33 
34 public:
35 	// from CCoeAppUi
36 	TKeyResponse HandleKeyEventL(
37 				const TKeyEvent& aKeyEvent,
38 				TEventCode aType );
39 
40 	// from CEikAppUi
41 	void HandleCommandL( TInt aCommand );
42 	void HandleResourceChangeL( TInt aType );
43 
44 	// from CAknAppUi
45 	void HandleViewDeactivation(
46 			const TVwsViewId& aViewIdToBeDeactivated,
47 			const TVwsViewId& aNewlyActivatedViewId );
48 
49 private:
50 	void InitializeContainersL();
51 	// [[[ begin generated region: do not modify [Generated Methods]
52 public:
53 	// ]]] end generated region [Generated Methods]
54 
55 	void PutMsg(const char *msg);
56 
57 	// [[[ begin generated region: do not modify [Generated Instance Variables]
58 private:
59 	CpjsuaContainerView* iPjsuaContainerView;
60 	// ]]] end generated region [Generated Instance Variables]
61 
62 
63 	// [[[ begin [User Handlers]
64 protected:
65 	// ]]] end [User Handlers]
66 	void PrepareToExit();
67 
68 	};
69 
70 #endif // PJSUAAPPUI_H
71