photosgallery/viewframework/plugins/listviewplugin/inc/glxmonthlistviewplugin.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:    List view plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef C_GLXMONTHLISTVIEWPLUGIN_H
       
    22 #define C_GLXMONTHLISTVIEWPLUGIN_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <glxlistviewpluginbase.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30  * Gallery month list view plugin.
       
    31  *
       
    32  * @ingroup list_view
       
    33  */
       
    34 NONSHARABLE_CLASS( CGlxMonthListViewPlugin ) : public CGlxListViewPluginBase
       
    35     {
       
    36 public:
       
    37     /**
       
    38      * Two-phased constructor for month list view plugin.
       
    39      */
       
    40     static CGlxMonthListViewPlugin* NewL();
       
    41 
       
    42     /**
       
    43      * Destructor.
       
    44      */
       
    45     virtual ~CGlxMonthListViewPlugin();
       
    46 
       
    47 private: // From CGlxListViewPluginBase
       
    48     /**
       
    49      * Construct the list view
       
    50      *
       
    51      * @param aMediaListFactory object providing media list
       
    52      *
       
    53      * @return pointer to created list view
       
    54      */
       
    55     CGlxListView* ConstructListViewLC(MGlxMediaListFactory* aMediaListFactory);
       
    56 
       
    57     /**
       
    58      * Add view specific command handlers
       
    59      */
       
    60     void AddCommandHandlersL();
       
    61 
       
    62 private:
       
    63     /**
       
    64      * C++ default constructor.
       
    65      */
       
    66     CGlxMonthListViewPlugin();
       
    67     
       
    68     /**
       
    69      * By default Symbian 2nd phase constructor is private.
       
    70      */
       
    71     void ConstructL();
       
    72     };
       
    73 
       
    74 #endif  // C_GLXMONTHLISTVIEWPLUGIN_H
       
    75 
       
    76 // End of File