phoneclientserver/inc/cphcltdialer.h
author hgs
Wed, 21 Jul 2010 18:26:52 +0300
changeset 33 8d5d7fcf9b59
permissions -rw-r--r--
201027
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  It is dialer class.
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef CPHCLTDIALER_H
hgs
parents:
diff changeset
    20
#define CPHCLTDIALER_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
//  INCLUDES
hgs
parents:
diff changeset
    23
#include    <cphcltextphonebase.h> 
hgs
parents:
diff changeset
    24
#include    <cphcltextphonedialdata.h> 
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
// FORWARD DECLARATIONS
hgs
parents:
diff changeset
    27
class CPhCltDialerDlg;
hgs
parents:
diff changeset
    28
hgs
parents:
diff changeset
    29
// CLASS DECLARATION
hgs
parents:
diff changeset
    30
hgs
parents:
diff changeset
    31
/**
hgs
parents:
diff changeset
    32
*  It is dialer class.
hgs
parents:
diff changeset
    33
*
hgs
parents:
diff changeset
    34
*  @lib phoneclient.lib
hgs
parents:
diff changeset
    35
*  @since 1.0
hgs
parents:
diff changeset
    36
*/
hgs
parents:
diff changeset
    37
class CPhCltDialer
hgs
parents:
diff changeset
    38
    : public CBase
hgs
parents:
diff changeset
    39
    {
hgs
parents:
diff changeset
    40
    public:  // Constructors and destructor
hgs
parents:
diff changeset
    41
        
hgs
parents:
diff changeset
    42
        /**
hgs
parents:
diff changeset
    43
        * Two-phased constructor.
hgs
parents:
diff changeset
    44
        *
hgs
parents:
diff changeset
    45
        * @return Pointer to created CPhCltDialer instance.
hgs
parents:
diff changeset
    46
        */
hgs
parents:
diff changeset
    47
        IMPORT_C static CPhCltDialer* NewL();
hgs
parents:
diff changeset
    48
        
hgs
parents:
diff changeset
    49
        /**
hgs
parents:
diff changeset
    50
        * Destructor.
hgs
parents:
diff changeset
    51
        */
hgs
parents:
diff changeset
    52
        ~CPhCltDialer();
hgs
parents:
diff changeset
    53
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
    public: // New functions
hgs
parents:
diff changeset
    56
hgs
parents:
diff changeset
    57
        /** 
hgs
parents:
diff changeset
    58
        * Dial parameters.
hgs
parents:
diff changeset
    59
        *
hgs
parents:
diff changeset
    60
        * @return Returns dial data.
hgs
parents:
diff changeset
    61
        */
hgs
parents:
diff changeset
    62
        IMPORT_C CPhCltExtPhoneDialData& DialData();
hgs
parents:
diff changeset
    63
hgs
parents:
diff changeset
    64
        /**
hgs
parents:
diff changeset
    65
        * Performs dialing with the dial data.
hgs
parents:
diff changeset
    66
        */
hgs
parents:
diff changeset
    67
        IMPORT_C void ExecuteLD();
hgs
parents:
diff changeset
    68
hgs
parents:
diff changeset
    69
hgs
parents:
diff changeset
    70
    private:
hgs
parents:
diff changeset
    71
hgs
parents:
diff changeset
    72
        /**
hgs
parents:
diff changeset
    73
        * C++ constructor.
hgs
parents:
diff changeset
    74
        */
hgs
parents:
diff changeset
    75
        CPhCltDialer();
hgs
parents:
diff changeset
    76
        
hgs
parents:
diff changeset
    77
        /**
hgs
parents:
diff changeset
    78
        * Symbian OS constructor.
hgs
parents:
diff changeset
    79
        */
hgs
parents:
diff changeset
    80
        void ConstructL();
hgs
parents:
diff changeset
    81
hgs
parents:
diff changeset
    82
        /**
hgs
parents:
diff changeset
    83
        * Cleanup action. Clears iDestroyed & iDialDlg.
hgs
parents:
diff changeset
    84
        */
hgs
parents:
diff changeset
    85
        static void DoClear( TAny* aAny );
hgs
parents:
diff changeset
    86
hgs
parents:
diff changeset
    87
hgs
parents:
diff changeset
    88
    private:    // Data
hgs
parents:
diff changeset
    89
hgs
parents:
diff changeset
    90
        // Pointer to boolean indicating if this has been destroyed already.
hgs
parents:
diff changeset
    91
        TBool* iDestroyed;
hgs
parents:
diff changeset
    92
hgs
parents:
diff changeset
    93
        // Dialer dialog
hgs
parents:
diff changeset
    94
        CPhCltDialerDlg* iDialDlg;
hgs
parents:
diff changeset
    95
hgs
parents:
diff changeset
    96
    };
hgs
parents:
diff changeset
    97
hgs
parents:
diff changeset
    98
#endif      // CPHCLTDIALER_H
hgs
parents:
diff changeset
    99
            
hgs
parents:
diff changeset
   100
// End of File