telephonyutils/etel3rdpartyapi/ExampleApps/PhoneId/CSubscriberId.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #ifndef __CSUBSCRIBERID_H__
       
    18 #define __CSUBSCRIBERID_H__
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <e32cons.h>
       
    22 #include <e32def.h>
       
    23 #include <etel3rdparty.h>
       
    24 
       
    25 
       
    26 #include "CISVAPISync.h"
       
    27 
       
    28 #include "CMainMenu.h"
       
    29 
       
    30 /**
       
    31 Retrieves and communicates information pertaining to the sim card currently
       
    32 present in the phone.
       
    33 */
       
    34 class CSubscriberId : public CISVAPISync
       
    35 	{
       
    36 
       
    37 // Methods
       
    38 public:
       
    39 	static CSubscriberId* NewL(MExecSync* aController);
       
    40 	~CSubscriberId();
       
    41 
       
    42 	void DoStartRequestL();
       
    43 
       
    44 private:
       
    45 	CSubscriberId(MExecSync* aController);
       
    46 	void ConstructL();
       
    47 
       
    48 	void RunL();
       
    49 	void DoCancel();
       
    50 
       
    51 // Data
       
    52 public:
       
    53 	/**
       
    54 	Stores retrieved subscriber (IMSI) ID.
       
    55 	*/
       
    56 	CTelephony::TSubscriberIdV1 iSubscriberIdV1;
       
    57 
       
    58 private:
       
    59 	/**
       
    60 	Packages iSubscriberIdV1.
       
    61 	*/
       
    62 	CTelephony::TSubscriberIdV1Pckg iSubscriberIdV1Pckg;
       
    63 
       
    64 	};
       
    65 
       
    66 #endif // __CSUBSCRIBERID_H__