datacommsserver/networkcontroller/ts_common/etelmm.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2002-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 #ifndef __ETELMM_H__
       
    17 #define __ETELMM_H__
       
    18 
       
    19 #include "etel.h"
       
    20 #include "etelmmcs.h"
       
    21 
       
    22 class RMobilePhone : public RPhone
       
    23 	{
       
    24 public:
       
    25 	enum TMobilePhoneModeCaps
       
    26 		{
       
    27 		KCapsGsmSupported=0x00000001,
       
    28 		KCapsGprsSupported=0x00000002,
       
    29 		KCapsAmpsSupported=0x00000004
       
    30 		};
       
    31 
       
    32 	TInt GetMultimodeCaps(TUint32& aCaps) const;
       
    33 
       
    34 	enum TMobilePhoneNetworkMode
       
    35 		{
       
    36 		ENetworkModeUnknown,
       
    37 		ENetworkModeUnregistered,
       
    38 		ENetworkModeGsm,
       
    39 		ENetworkModeAmps
       
    40 		};
       
    41 
       
    42 	TInt GetCurrentMode(TMobilePhoneNetworkMode& aNetworkMode) const;
       
    43 
       
    44 	void GetSignalStrength(TRequestStatus& aReqStatus, TInt32& aSignalStrength, TInt8& aBar) const;
       
    45 	void NotifySignalStrengthChange(TRequestStatus& aReqStatus, TInt32& aSignalStrength, TInt8& aBar) const;
       
    46 	};
       
    47 
       
    48 #endif // __ETELMM_H__
       
    49