vtuis/videotelui/inc/features/dialer/cvtuidialer.h
branchRCL_3
changeset 25 779871d1e4f4
parent 0 ed9695c8bcbe
equal deleted inserted replaced
24:f15ac8e65a02 25:779871d1e4f4
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Dialer UI feature.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_VTUIDIALER_H
       
    20 #define C_VTUIDIALER_H
       
    21 
       
    22 #include "cvtuifeaturebase.h"
       
    23 #include "mvtuidialer.h"
       
    24 
       
    25 class CVtUiFeatureCmdBase;
       
    26 class CVtUiDialerContainer;
       
    27 
       
    28 /**
       
    29  *  CVtUiDialer
       
    30  *
       
    31  *  Mini dialer UI feature definition.
       
    32  *
       
    33  *  @since S60 v5.0
       
    34  */
       
    35 class CVtUiDialer : public CVtUiFeatureBase, public MVtUiDialer
       
    36     {
       
    37 
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Static constructor
       
    42      * @param aFeatureManager Reference to featuremanager.
       
    43      * @return Newly created instance to CVtUiDialer.
       
    44      */
       
    45     static CVtUiDialer* NewL( CVtUiFeatureManager& aFeatureManager );
       
    46 
       
    47     /**
       
    48      * Destructor
       
    49      */
       
    50     ~CVtUiDialer();
       
    51 
       
    52 public: // from CVtUiFeatureBase
       
    53 
       
    54     /**
       
    55     * @see CVtUiFeatureBase::StartL
       
    56     */
       
    57     void StartL();
       
    58 
       
    59     /**
       
    60     * @see CVtUiFeatureBase::Stop
       
    61     */
       
    62     void Stop();
       
    63 
       
    64     /**
       
    65     * @see CVtUiFeatureBase::InitFeatureL
       
    66     */
       
    67     void InitFeatureL();
       
    68 
       
    69 private: // from MVtUiDialer
       
    70 
       
    71     /**
       
    72     * @see MVtUiDialer::VideoWindow
       
    73     */
       
    74     MVtUiVideoWindow& VideoWindow() const;
       
    75 
       
    76     /**
       
    77     * @see MVtUiDialer::VideoControl
       
    78     */
       
    79     CCoeControl& VideoControl() const;
       
    80 
       
    81 private:
       
    82 
       
    83     /**
       
    84      * Constructor
       
    85      */
       
    86     CVtUiDialer( CVtUiFeatureManager& aFeatureManager );
       
    87 
       
    88     /**
       
    89      * 2nd constructor
       
    90      */
       
    91     void ConstructL();
       
    92 
       
    93     /**
       
    94      * Preapres feature before start.
       
    95      */
       
    96     void PrepareL();
       
    97 
       
    98     /**
       
    99      * Unprepares feature after stop.
       
   100      */
       
   101     void Unprepare();
       
   102 
       
   103 private:
       
   104 
       
   105     // Open command
       
   106     CVtUiFeatureCmdBase* iCmdOpen;
       
   107 
       
   108     // Open command
       
   109     CVtUiFeatureCmdBase* iCmdClose;
       
   110 
       
   111     // Dialer container
       
   112     CVtUiDialerContainer* iDialerContainer;
       
   113 
       
   114     };
       
   115 
       
   116 #endif // C_VTUIDIALER_H