examples/Telephony/ETel3rdPartyExample/PhoneId/CMainMenu.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #ifndef __CMAINMENU_H__
00018 #define __CMAINMENU_H__
00019 
00020 #include <e32base.h>
00021 #include <etel3rdparty.h>
00022 
00023 #include "CISVAPISync.h"
00024 
00025 #include "CBaseMenuSync.h"
00026 
00027 // Active objects
00028 
00029 #include "CPhoneId.h"
00030 #include "CSubscriberId.h"
00031 
00032 _LIT(KPhoneIdMsg, "Phone Id:\n");
00033 _LIT(KSubscriberIdMsg, "Subscriber Id:\n");
00034 
00039 class CMainMenu : public CBaseMenuSync
00040         {
00041 
00042         // Methods
00043 public:
00044         static CMainMenu* NewLC(CConsoleBase& aConsole);
00045         ~CMainMenu();
00046 
00047 private:
00048         CMainMenu(CConsoleBase& aConsole);
00049         void ConstructL();
00050         void DoCancel();
00051 
00052         void RunL();    // Handles key presses
00053         // Data
00054 private:
00055         // Owned active objects
00059         CISVAPISync* iPhoneId;
00063         CISVAPISync* iSubscriberId;
00064 
00065         };
00066 
00067 #endif // __CMAINMENU_H__
00068 

Generated by  doxygen 1.6.2