Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | /* |
| 2 | ======================================================================== |
| 3 | Name : PjsuaContainerView.h |
| 4 | Author : nanang |
| 5 | Copyright : Copyright (C) 2013 Teluu Inc. (http://www.teluu.com) |
| 6 | Description : |
| 7 | ======================================================================== |
| 8 | */ |
| 9 | #ifndef PJSUACONTAINERVIEW_H |
| 10 | #define PJSUACONTAINERVIEW_H |
| 11 | |
| 12 | // [[[ begin generated region: do not modify [Generated Includes] |
| 13 | #include <aknview.h> |
| 14 | // ]]] end generated region [Generated Includes] |
| 15 | |
| 16 | |
| 17 | // [[[ begin [Event Handler Includes] |
| 18 | // ]]] end [Event Handler Includes] |
| 19 | |
| 20 | // [[[ begin generated region: do not modify [Generated Constants] |
| 21 | // ]]] end generated region [Generated Constants] |
| 22 | |
| 23 | // [[[ begin generated region: do not modify [Generated Forward Declarations] |
| 24 | class CPjsuaContainer; |
| 25 | // ]]] end generated region [Generated Forward Declarations] |
| 26 | |
| 27 | /** |
| 28 | * Avkon view class for pjsuaContainerView. It is register with the view server |
| 29 | * by the AppUi. It owns the container control. |
| 30 | * @class CpjsuaContainerView pjsuaContainerView.h |
| 31 | */ |
| 32 | |
| 33 | class CpjsuaContainerView : public CAknView |
| 34 | { |
| 35 | |
| 36 | |
| 37 | // [[[ begin [Public Section] |
| 38 | public: |
| 39 | // constructors and destructor |
| 40 | CpjsuaContainerView(); |
| 41 | static CpjsuaContainerView* NewL(); |
| 42 | static CpjsuaContainerView* NewLC(); |
| 43 | void ConstructL(); |
| 44 | virtual ~CpjsuaContainerView(); |
| 45 | |
| 46 | // from base class CAknView |
| 47 | TUid Id() const; |
| 48 | void HandleCommandL( TInt aCommand ); |
| 49 | |
| 50 | // [[[ begin generated region: do not modify [Generated Methods] |
| 51 | CPjsuaContainer* CreateContainerL(); |
| 52 | // ]]] end generated region [Generated Methods] |
| 53 | |
| 54 | // ]]] end [Public Section] |
| 55 | |
| 56 | void PutMessage( const char *msg ); |
| 57 | |
| 58 | // [[[ begin [Protected Section] |
| 59 | protected: |
| 60 | // from base class CAknView |
| 61 | void DoActivateL( |
| 62 | const TVwsViewId& aPrevViewId, |
| 63 | TUid aCustomMessageId, |
| 64 | const TDesC8& aCustomMessage ); |
| 65 | void DoDeactivate(); |
| 66 | void HandleStatusPaneSizeChange(); |
| 67 | |
| 68 | // [[[ begin generated region: do not modify [Overridden Methods] |
| 69 | // ]]] end generated region [Overridden Methods] |
| 70 | |
| 71 | |
| 72 | // [[[ begin [User Handlers] |
| 73 | // ]]] end [User Handlers] |
| 74 | |
| 75 | // ]]] end [Protected Section] |
| 76 | |
| 77 | |
| 78 | // [[[ begin [Private Section] |
| 79 | private: |
| 80 | void SetupStatusPaneL(); |
| 81 | void CleanupStatusPane(); |
| 82 | |
| 83 | // [[[ begin generated region: do not modify [Generated Instance Variables] |
| 84 | CPjsuaContainer* iPjsuaContainer; |
| 85 | // ]]] end generated region [Generated Instance Variables] |
| 86 | |
| 87 | // [[[ begin generated region: do not modify [Generated Methods] |
| 88 | // ]]] end generated region [Generated Methods] |
| 89 | |
| 90 | // ]]] end [Private Section] |
| 91 | |
| 92 | }; |
| 93 | |
| 94 | #endif // PJSUACONTAINERVIEW_H |