internetradio2.0/sessionloginc/irphoneinfo.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef IRPHONEINFO_H
       
    20 #define IRPHONEINFO_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <etel3rdparty.h>
       
    24 
       
    25 class CTelephony;
       
    26 class MIRPhoneInfoObserver;
       
    27 
       
    28 NONSHARABLE_CLASS(CPhoneInfo) : public CActive
       
    29     {
       
    30 public:
       
    31     static CPhoneInfo* NewL(MIRPhoneInfoObserver* aObserver);
       
    32     ~CPhoneInfo();
       
    33 
       
    34     void StartUpdating();
       
    35 
       
    36 private:
       
    37     CPhoneInfo(MIRPhoneInfoObserver* aObserver);
       
    38     void ConstructL();
       
    39 
       
    40     void RunL();
       
    41     void DoCancel();
       
    42 
       
    43 private:
       
    44     CTelephony::TPhoneIdV1 iPhoneIdV1;
       
    45     CTelephony::TPhoneIdV1Pckg iPhoneIdV1Pckg;
       
    46 
       
    47     CTelephony* iTelephony;
       
    48     MIRPhoneInfoObserver* iObserver;
       
    49     };
       
    50 
       
    51 #endif // IRPHONEINFO_H