srsf/profileobserverplugin/inc/vuipprofileobserverplugin.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2004 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <nssvoiceevent.h>
       
    21 
       
    22 
       
    23 // Forward declaration
       
    24 //
       
    25 class CVCommandProfileObserver;
       
    26 
       
    27 
       
    28 /**
       
    29  * Class which uses VUIP-framework to start profile observing when 
       
    30  * phone is booted.
       
    31  *
       
    32  */
       
    33 class CVUIPprofileobserverplugin : public CVoiceEventObserverPluginBase
       
    34     {
       
    35     
       
    36     public: // Constructors and destructor
       
    37         
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CVUIPprofileobserverplugin* NewL();
       
    42       
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         ~CVUIPprofileobserverplugin();
       
    47 
       
    48 
       
    49     public: // Functions from base classes
       
    50 
       
    51         /**
       
    52         * From CVoiceEventObserverPluginBase
       
    53         * @param aEventHandler reference to a voice event handler.
       
    54         */        
       
    55         void InitializeL( MVoiceEventExecutor& aEventHandler );
       
    56 
       
    57 
       
    58     private:
       
    59         
       
    60         /**
       
    61         * C++ default constructor.
       
    62         */
       
    63         CVUIPprofileobserverplugin();
       
    64         
       
    65         /**
       
    66         * By default Symbian 2nd phase constructor is private.
       
    67         */
       
    68         void ConstructL();
       
    69 
       
    70    
       
    71     private: // Data
       
    72     
       
    73         CVCommandProfileObserver*   iProfileObserver; // owned
       
    74     };
       
    75     
       
    76