phoneclientserver/phoneserver/Inc/Standard/CPhSrvPhoneController.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Phone Controller.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHSRVPHONECONTROLLER_H
       
    20 #define CPHSRVPHONECONTROLLER_H
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 #include    <etelmm.h>            // ETel
       
    25 #include <rmmcustomapi.h>         // CustomAPI
       
    26 #include "MPhSrvPhoneInterface.h" // The interface class
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Interface to the server-wide phone.
       
    33 *
       
    34 *  @since 1.0
       
    35 */
       
    36 class CPhSrvPhoneController : 
       
    37     public CBase, 
       
    38     public MPhSrvPhoneInterface
       
    39     {
       
    40     public:  // Constructors and destructor
       
    41 
       
    42         /**
       
    43         * Destructor.
       
    44         */
       
    45         ~CPhSrvPhoneController();
       
    46 
       
    47         /**
       
    48         * Symbian OS second phase constructor
       
    49         */
       
    50         void ConstructL();
       
    51 
       
    52 
       
    53     public: // Functions from base classes
       
    54 
       
    55         /**
       
    56         * @see MPhSrvPhoneInterface
       
    57         */
       
    58         RTelServer& PhSrvETelServer();
       
    59 
       
    60         /**
       
    61         * @see MPhSrvPhoneInterface
       
    62         */
       
    63         /*****************************************************
       
    64         *   Series 60 Customer / ETel
       
    65         *   Series 60  ETel API
       
    66         *****************************************************/
       
    67         RMobilePhone& PhSrvMobilePhone();
       
    68 
       
    69         /**
       
    70         * @see MPhSrvPhoneInterface
       
    71         */
       
    72         /*****************************************************
       
    73         *   Series 60 Customer / ETel
       
    74         *   Series 60  ETel API
       
    75         *****************************************************/
       
    76         RMmCustomAPI& PhSrvCustomPhone();
       
    77 
       
    78 
       
    79     private:     // Data
       
    80 
       
    81         // The RTelServer instance.
       
    82         /*****************************************************
       
    83         *   Series 60 Customer / ETel
       
    84         *   Series 60  ETel API
       
    85         *****************************************************/
       
    86         RTelServer iETelServer;
       
    87 
       
    88         // The CustomAPI instance.
       
    89         /*****************************************************
       
    90         *   Series 60 Customer / ETel
       
    91         *   Series 60  ETel API
       
    92         *****************************************************/
       
    93         RMmCustomAPI iCustomPhone;
       
    94 
       
    95         // The RMobilePhone instance.
       
    96         /*****************************************************
       
    97         *   Series 60 Customer / ETel
       
    98         *   Series 60  ETel API
       
    99         *****************************************************/
       
   100         RMobilePhone iMobilePhone;
       
   101     };
       
   102 
       
   103 #endif // CPHSRVPHONECONTROLLER_H
       
   104 
       
   105 
       
   106 // End of File