00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __CMAINMENU_H__
00018 #define __CMAINMENU_H__
00019
00020 #include <e32base.h>
00021 #include <etel3rdparty.h>
00022
00023
00024 #include "CISVAPIAsync.h"
00025
00026 #include "CBaseMenuAsync.h"
00027
00028
00029 #include "CPhoneId.h"
00030 #include "CFlightModeInfo.h"
00031 #include "CCallBarringStatus.h"
00032 #include "CCallForwardingStatus.h"
00033 #include "CCallWaitingStatus.h"
00034 #include "CIdentityServiceStatus.h"
00035
00036 _LIT(KPhoneIdMsg, "Phone Id:\n");
00037 _LIT(KGetLockInfoMsg, "Lock Info:\n");
00038 _LIT(KCallForwardingStatusMsg, "Call Forwarding Status:\n");
00039 _LIT(KCallBarringStatusMsg, "Call Barring Status:\n");
00040 _LIT(KCallWaitingStatusMsg, "Call Waiting Status:\n");
00041 _LIT(KIdentityServiceStatusMsg, "Identity Service Status:\n");
00042 _LIT(KMenuMsg, "Press E to exit\n");
00043
00048 class CMainMenu : public CBaseMenuAsync
00049 {
00050
00051 public:
00052 static CMainMenu* NewLC(CConsoleBase& aConsole);
00053 ~CMainMenu();
00054
00055 void ExecComplete(TTelISVExampleType aDerivedType);
00056 void ExecNotify(TTelISVExampleType aDerivedType);
00057
00058 private:
00059 CMainMenu(CConsoleBase& aConsole);
00060 void ConstructL();
00061
00062 void RunL();
00063 void DoCancel();
00064
00065 private:
00066
00067
00071 CISVAPIAsync* iPhoneId;
00075 CISVAPIAsync* iCallForwarding;
00079 CISVAPIAsync* iCallBarring;
00083 CISVAPIAsync* iCallWaiting;
00087 CISVAPIAsync* iFlightModeInfo;
00091 CISVAPIAsync* iIdentityService;
00092
00093 };
00094
00095 #endif // __CMAINMENU_H__
00096