srsf/profileobserverplugin/src/vuipprofileobserverplugin.cpp
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:  profile observer vuipf-plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "vuipprofileobserverplugin.h"
       
    20 #include "vcommandprofileobserver.h"
       
    21 #include "rubydebug.h"
       
    22 
       
    23 #include <ProEngFactory.h>
       
    24 
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CVUIPprofileobserverplugin::CVUIPprofileobserverplugin
       
    30 // C++ default constructor can NOT contain any code, that
       
    31 // might leave.
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 CVUIPprofileobserverplugin::CVUIPprofileobserverplugin()
       
    35     {
       
    36     }
       
    37    
       
    38  
       
    39 // -----------------------------------------------------------------------------
       
    40 // CVUIPprofileobserverplugin::ConstructL
       
    41 // Symbian 2nd phase constructor can leave.
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 void CVUIPprofileobserverplugin::ConstructL() 
       
    45     {
       
    46     RUBY_DEBUG_BLOCK( "CVUIPprofileobserverplugin::ConstructL()" );
       
    47     
       
    48     iProfileObserver = CVCommandProfileObserver::NewL();
       
    49     }
       
    50  
       
    51    
       
    52 // -----------------------------------------------------------------------------
       
    53 // CVUIPprofileobserverplugin::NewL
       
    54 // Two-phased constructor.
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 CVUIPprofileobserverplugin* CVUIPprofileobserverplugin::NewL() 
       
    58     {
       
    59     RUBY_DEBUG_BLOCK( "CVUIPprofileobserverplugin::NewL()" );
       
    60     
       
    61     CVUIPprofileobserverplugin* self = new( ELeave ) CVUIPprofileobserverplugin();
       
    62     
       
    63     CleanupStack::PushL( self );
       
    64     self->ConstructL();
       
    65     CleanupStack::Pop( self ); 
       
    66     
       
    67     return self;
       
    68     }
       
    69 
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 // CVUIPprofileobserverplugin::~CVUIPprofileobserverplugin
       
    73 // Destructor.
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 CVUIPprofileobserverplugin::~CVUIPprofileobserverplugin()
       
    77     {
       
    78     RUBY_DEBUG0( "CVUIPprofileobserverplugin::~CVUIPprofileobserverplugin()" );
       
    79     
       
    80     delete iProfileObserver;
       
    81     }
       
    82 
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 // CVUIPprofileobserverplugin::InitializeL
       
    86 // Handle voice event
       
    87 // -----------------------------------------------------------------------------
       
    88 //
       
    89 
       
    90 void CVUIPprofileobserverplugin::InitializeL( MVoiceEventExecutor& /*aEventHandler*/ )
       
    91     {
       
    92     }
       
    93 
       
    94 
       
    95 // End of File
       
    96