mpxplugins/viewplugins/plugins/upnpplaybackdialogplugin/inc/mpxupnpplaybackdialogplugin.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 upnp playback dialog plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CMPXUPNPPLAYBACKDIALOGPLUGIN_H
       
    21 #define C_CMPXUPNPPLAYBACKDIALOGPLUGIN_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <mpxakndialogplugin.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  MPX upnp playback dialog plugin definition.
       
    32  *
       
    33  *  @lib mpxupnpplaybackdialogplugin.lib
       
    34  *  @since S60 v3.0
       
    35  */
       
    36 NONSHARABLE_CLASS( CMPXUPnPPlaybackDialogPlugin ) : public CMPXAknDialogPlugin
       
    37     {
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Two-phased constructor.
       
    42      *
       
    43      * @since 3.0
       
    44      * @return Pointer to newly created object.
       
    45      */
       
    46     static CMPXUPnPPlaybackDialogPlugin* NewL();
       
    47 
       
    48     /**
       
    49      * Destructor.
       
    50      */
       
    51     virtual ~CMPXUPnPPlaybackDialogPlugin();
       
    52 
       
    53 private:
       
    54 
       
    55     /**
       
    56      * From CMPXAknDialogPlugin
       
    57      * Construct Avkon dialog.
       
    58      *
       
    59      * @since S60 v3.0
       
    60      * @return Pointer to a newly created Avkon dialog.
       
    61      */
       
    62     CAknDialog* ConstructDialogL();
       
    63     
       
    64     /**
       
    65      * From CMPXAknDialogPlugin
       
    66      * Resource Id of the dialog
       
    67      *
       
    68      * @since S60 v3.0
       
    69      * @return Dialog resource ID
       
    70      */
       
    71     TInt ResourceId();
       
    72     
       
    73     /**
       
    74      * From CMPXViewPlugin
       
    75      * Interface method to activate view.
       
    76      *
       
    77      * @since S60 v3.0
       
    78      * @param aParam Parameter required to activate the view.
       
    79      */
       
    80     void ActivateViewL( const TDesC* aParam = NULL );
       
    81 
       
    82 private:
       
    83 
       
    84     /**
       
    85      * C++ default constructor.
       
    86      */
       
    87     CMPXUPnPPlaybackDialogPlugin();
       
    88 
       
    89     /**
       
    90      * By default Symbian 2nd phase constructor is private.
       
    91      */
       
    92     void ConstructL();
       
    93     };
       
    94 
       
    95 #endif  // C_CMPXUPNPPLAYBACKDIALOGPLUGIN_H
       
    96 
       
    97 // End of File