mpxplugins/viewplugins/plugins/addtracksdialogplugin/src/mpxaddtracksdialogplugin.cpp
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:  Implementation of Add tracks dialog plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <mpxaddtracksdialog.rsg>
       
    22 
       
    23 #include "mpxaddtracksdialog.h"
       
    24 #include "mpxaddtracksdialogplugin.h"
       
    25 
       
    26 
       
    27 // ======== MEMBER FUNCTIONS ========
       
    28 
       
    29 // ---------------------------------------------------------------------------
       
    30 // C++ default constructor can NOT contain any code, that
       
    31 // might leave.
       
    32 // ---------------------------------------------------------------------------
       
    33 //
       
    34 CMPXAddTracksDialogPlugin::CMPXAddTracksDialogPlugin()
       
    35     {
       
    36     // Do nothing
       
    37     }
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // Symbian 2nd phase constructor can leave.
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 void CMPXAddTracksDialogPlugin::ConstructL()
       
    44     {
       
    45     // Do nothing
       
    46     }
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // Two-phased constructor.
       
    50 // ---------------------------------------------------------------------------
       
    51 //
       
    52 CMPXAddTracksDialogPlugin* CMPXAddTracksDialogPlugin::NewL()
       
    53     {
       
    54     CMPXAddTracksDialogPlugin* self = 
       
    55         new ( ELeave ) CMPXAddTracksDialogPlugin();
       
    56     CleanupStack::PushL( self );
       
    57     self->ConstructL();
       
    58     CleanupStack::Pop( self );
       
    59     return self;
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // Destructor
       
    64 // ---------------------------------------------------------------------------
       
    65 //
       
    66 CMPXAddTracksDialogPlugin::~CMPXAddTracksDialogPlugin()
       
    67     {
       
    68     // Do nothing
       
    69     }
       
    70 
       
    71 // ---------------------------------------------------------------------------
       
    72 // From CMPXViewPlugin
       
    73 // Construct Avkon dialog.
       
    74 // ---------------------------------------------------------------------------
       
    75 //
       
    76 CAknDialog* CMPXAddTracksDialogPlugin::ConstructDialogL()
       
    77     {
       
    78     return CMPXAddTracksDialog::NewL();
       
    79     }
       
    80     
       
    81 // ---------------------------------------------------------------------------
       
    82 // From CMPXAknDialogPlugin
       
    83 // Resource ID.
       
    84 // ---------------------------------------------------------------------------
       
    85 //
       
    86 TInt CMPXAddTracksDialogPlugin::ResourceId()
       
    87     {
       
    88     return R_MPX_CUI_ADDTRACKS_DIALOG;
       
    89     }
       
    90 
       
    91 //  End of File