telephonyutils/etel3rdpartyapi/ExampleApps/SuppleServices/CCallBarringStatus.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
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 __CCALLBARRINGSTATUS_H__
       
    18 #define __CCALLBARRINGSTATUS_H__
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <e32cons.h>
       
    22 #include <e32def.h>
       
    23 #include <etel3rdparty.h>
       
    24 
       
    25 #include "CISVAPIAsync.h"
       
    26 
       
    27 #include "CMainMenu.h"
       
    28 
       
    29 /**
       
    30 Retrieves the status of the network call barring supplementary service.
       
    31 */
       
    32 class CCallBarringStatus : public CISVAPIAsync
       
    33 	{
       
    34 
       
    35 // Methods
       
    36 public:
       
    37 	static CCallBarringStatus* NewL(MExecAsync* aController);
       
    38 	~CCallBarringStatus();
       
    39 
       
    40 	void DoStartRequestL();
       
    41 
       
    42 private:
       
    43 	CCallBarringStatus(MExecAsync* aController);
       
    44 	void ConstructL();
       
    45 
       
    46 	void RunL();
       
    47 	void DoCancel();
       
    48 
       
    49 // Data
       
    50 public:
       
    51 	/**
       
    52 	Stores the status of call barring services. Filled by a call to 
       
    53 	CTelephony::GetCallBarringStatus().
       
    54 	*/
       
    55 	CTelephony::TCallBarringSupplServicesV1 iCallBarringStatusV1;
       
    56 
       
    57 private:
       
    58 	/**
       
    59 	Package descriptor for iCallBarringStatusV1
       
    60 	*/
       
    61 	CTelephony::TCallBarringSupplServicesV1Pckg iCallBarringStatusV1Pckg;
       
    62 
       
    63 	};
       
    64 
       
    65 #endif // __CCALLBARRINGSTATUS_H__