photosgallery/viewframework/plugins/metadataviewplugin/inc/glxmetadataviewplugin.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-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 : Metadata view plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_GLXMETADATAVIEWPLUGIN_H
       
    20 #define C_GLXMETADATAVIEWPLUGIN_H
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 #include <mpxaknviewplugin.h>
       
    25 
       
    26 #include "glxmedialistfactory.h"
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  MPX Collection view plugin definition.
       
    32  *
       
    33  *  @lib glxunifiedmetadataviewplugin.lib
       
    34  */
       
    35 NONSHARABLE_CLASS( CGlxMetadataViewPlugin ) : public CMPXAknViewPlugin 
       
    36     {
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Two-phased constructor.
       
    41      *
       
    42      * @return Pointer to newly created object.
       
    43      */
       
    44     static CGlxMetadataViewPlugin* NewL();
       
    45 
       
    46     /**
       
    47      * Destructor.
       
    48      */
       
    49     virtual ~CGlxMetadataViewPlugin();
       
    50     
       
    51 private:
       
    52 
       
    53     /**
       
    54      * From CMPXAknViewPlugin
       
    55      * Construct Avkon view.
       
    56      *
       
    57      * @return Pointer to a newly created Avkon view.
       
    58      */
       
    59     CAknView* ConstructViewLC();
       
    60     
       
    61 private:
       
    62 
       
    63     /**
       
    64      * C++ default constructor.
       
    65      */
       
    66     CGlxMetadataViewPlugin();
       
    67 
       
    68     /**
       
    69      * By default Symbian 2nd phase constructor is private.
       
    70      */
       
    71     void ConstructL();
       
    72     };
       
    73 
       
    74 #endif  // C_GLXMETADATAVIEWPLUGIN_H
       
    75 
       
    76 // End of File