mpxplugins/viewplugins/plugins/equalizerviewplugin/inc/mpxequalizerviewplugin.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2006 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:  MPX Equalizer view plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CMPXEQUALIZERVIEWPLUGIN_H
       
    21 #define C_CMPXEQUALIZERVIEWPLUGIN_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <mpxviewplugin.h>
       
    26 
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CMPXEqualizerView;
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35  *  MPX Equalizer view plugin definition.
       
    36  *
       
    37  *  @lib mpxequalizerviewplugin.lib
       
    38  *  @since S60 v3.0
       
    39  */
       
    40 NONSHARABLE_CLASS( CMPXEqualizerViewPlugin ) : public CMPXViewPlugin
       
    41     {
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Two-phased constructor.
       
    46      *
       
    47      * @since 3.0
       
    48      * @return Pointer to newly created object.
       
    49      */
       
    50     static CMPXEqualizerViewPlugin* NewL();
       
    51 
       
    52     /**
       
    53      * Destructor.
       
    54      */
       
    55     virtual ~CMPXEqualizerViewPlugin();
       
    56 
       
    57 private:
       
    58 
       
    59     /**
       
    60      * C++ default constructor.
       
    61      */
       
    62     CMPXEqualizerViewPlugin();
       
    63 
       
    64     /**
       
    65      * By default Symbian 2nd phase constructor is private.
       
    66      */
       
    67     void ConstructL();
       
    68 
       
    69 // from base class CMPXViewPlugin
       
    70 
       
    71     /**
       
    72      * From CMPXViewPlugin
       
    73      * Interface method to create view.
       
    74      *
       
    75      * @since S60 v3.0
       
    76      */
       
    77     void CreateViewL();
       
    78 
       
    79     /**
       
    80      * From CMPXViewPlugin
       
    81      * Interface method to destroy view.
       
    82      *
       
    83      * @since S60 v3.0
       
    84      */
       
    85     void DestroyView();
       
    86 
       
    87     /**
       
    88      * From CMPXViewPlugin
       
    89      * Interface method to activate view.
       
    90      *
       
    91      * @since S60 v3.0
       
    92      * @param aParam Parameter required to activate the view.
       
    93      */
       
    94     void ActivateViewL( const TDesC* aParam = NULL );
       
    95     
       
    96     /**
       
    97      * From CMPXViewPlugin
       
    98      * Interface method to activate as default view, will not
       
    99      * bring to foreground.
       
   100      *
       
   101      * @since S60 v3.0
       
   102      */
       
   103     void SetAsDefaultViewL();
       
   104 
       
   105     /**
       
   106      * From CMPXViewPlugin
       
   107      * Interface method to deactivate view.
       
   108      *
       
   109      * @since S60 v3.0
       
   110      */
       
   111     void DeactivateView();
       
   112 
       
   113 private:    // data
       
   114 
       
   115     CMPXEqualizerView* iView;
       
   116     };
       
   117 
       
   118 #endif  // C_CMPXEQUALIZERVIEWPLUGIN_H
       
   119 
       
   120 // End of File