mmappfw_plat/mpx_base_view_plugins_api/tsrc/ui_mpxbaseviewpluginstest/inc/dummyMPXViewPlugin.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2009 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: Implement of the CMPXViewPlugin class for testing the protect function 
       
    15 *
       
    16 */
       
    17 #ifndef DUMMYMPXVIEWPLUGIN_H_
       
    18 #define DUMMYMPXVIEWPLUGIN_H_
       
    19 
       
    20 #include <mpxviewplugin.h>
       
    21 #include <mpxaknviewplugin.h>
       
    22 #include <mpxakndialogplugin.h>
       
    23 
       
    24 
       
    25 // ============================ MEMBER FUNCTIONS ===============================
       
    26 class CDummyMPXViewPlugin : public CMPXViewPlugin
       
    27     {
       
    28 
       
    29 public: 
       
    30     // Construct CDummyMPXViewPlugin
       
    31 	CDummyMPXViewPlugin(const TUid& aUid,MMPXCustomCommandObserver* aCommandObserver);  
       
    32 	
       
    33 	// Delete CDummyMPXViewPlugin
       
    34 	virtual ~CDummyMPXViewPlugin();
       
    35     
       
    36 	virtual void CreateViewL();
       
    37 
       
    38     virtual void DestroyView();
       
    39 
       
    40     virtual void ActivateViewL( const TDesC* aParam = NULL );
       
    41 
       
    42     virtual void SetAsDefaultViewL();
       
    43 
       
    44     virtual void DeactivateView();
       
    45         
       
    46 private : 
       
    47         
       
    48         CMPXViewPlugin* iMPXViewPlugin;
       
    49        
       
    50     };
       
    51 
       
    52 #endif /*DUMMYMPXVIEWPLUGIN_H_*/