videofeeds/utils/inc/vcxhgvodtelephonyclient.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2006-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 the License "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:      Telephony client component.*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef VCXHGVODTELEPHONYCLIENT_H
       
    21 #define VCXHGVODTELEPHONYCLIENT_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include <e32base.h>
       
    25 #include <etelmm.h>
       
    26 
       
    27 
       
    28 /**
       
    29 * Class connects to ETel for asking lock code from user.
       
    30 * Copied from vcnsuis/vcnssettings/vcnssettingsengine.
       
    31 */
       
    32 NONSHARABLE_CLASS( CVcxHgVodTelephonyClient ) : public CBase
       
    33     { 
       
    34 
       
    35     public:
       
    36 
       
    37         /**
       
    38          * Constructor.
       
    39          */
       
    40         IMPORT_C CVcxHgVodTelephonyClient();
       
    41 
       
    42         /**
       
    43          * Closes the ETel connection.
       
    44          */
       
    45         virtual ~CVcxHgVodTelephonyClient();
       
    46 
       
    47         /**
       
    48          * Check the lock code 
       
    49          *
       
    50          * @return ETrue if the user enters the correct lock code
       
    51          */
       
    52         IMPORT_C TBool CheckLockCodeL();
       
    53   
       
    54     private: // data
       
    55          
       
    56         /**
       
    57          * Flag that tells when connection has been made.
       
    58          */
       
    59         TBool iPhoneConnected;
       
    60         
       
    61         /**
       
    62          * Telephony server session.
       
    63          */
       
    64         RTelServer iServer;
       
    65         
       
    66         /**
       
    67          * Access to mobile phone functionality.
       
    68          */
       
    69         RMobilePhone iPhone;
       
    70 
       
    71     };
       
    72 
       
    73 #endif // VCXHGTELEPHONYCLIENT_H
       
    74