phoneclientserver/inc/cphcltdialer.h
changeset 33 8d5d7fcf9b59
equal deleted inserted replaced
32:1f002146abb4 33:8d5d7fcf9b59
       
     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:  It is dialer class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHCLTDIALER_H
       
    20 #define CPHCLTDIALER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <cphcltextphonebase.h> 
       
    24 #include    <cphcltextphonedialdata.h> 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CPhCltDialerDlg;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  It is dialer class.
       
    33 *
       
    34 *  @lib phoneclient.lib
       
    35 *  @since 1.0
       
    36 */
       
    37 class CPhCltDialer
       
    38     : public CBase
       
    39     {
       
    40     public:  // Constructors and destructor
       
    41         
       
    42         /**
       
    43         * Two-phased constructor.
       
    44         *
       
    45         * @return Pointer to created CPhCltDialer instance.
       
    46         */
       
    47         IMPORT_C static CPhCltDialer* NewL();
       
    48         
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         ~CPhCltDialer();
       
    53 
       
    54 
       
    55     public: // New functions
       
    56 
       
    57         /** 
       
    58         * Dial parameters.
       
    59         *
       
    60         * @return Returns dial data.
       
    61         */
       
    62         IMPORT_C CPhCltExtPhoneDialData& DialData();
       
    63 
       
    64         /**
       
    65         * Performs dialing with the dial data.
       
    66         */
       
    67         IMPORT_C void ExecuteLD();
       
    68 
       
    69 
       
    70     private:
       
    71 
       
    72         /**
       
    73         * C++ constructor.
       
    74         */
       
    75         CPhCltDialer();
       
    76         
       
    77         /**
       
    78         * Symbian OS constructor.
       
    79         */
       
    80         void ConstructL();
       
    81 
       
    82         /**
       
    83         * Cleanup action. Clears iDestroyed & iDialDlg.
       
    84         */
       
    85         static void DoClear( TAny* aAny );
       
    86 
       
    87 
       
    88     private:    // Data
       
    89 
       
    90         // Pointer to boolean indicating if this has been destroyed already.
       
    91         TBool* iDestroyed;
       
    92 
       
    93         // Dialer dialog
       
    94         CPhCltDialerDlg* iDialDlg;
       
    95 
       
    96     };
       
    97 
       
    98 #endif      // CPHCLTDIALER_H
       
    99             
       
   100 // End of File