photosgallery/viewframework/plugins/gridviewplugin/inc/glxtaggridviewplugin.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:    MPX Grid view plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include <glxgridviewpluginbase.h>
       
    23 
       
    24 #ifndef C_GLXTAGGRIDVIEWPLUGIN_H
       
    25 #define C_GLXTAGGRIDVIEWPLUGIN_H
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29  * @internal reviewed 12/06/2007 by Alex Birkett
       
    30  */
       
    31 
       
    32 /**
       
    33  * CGlxTagGridViewPlugin
       
    34  * @author Ranjini Srinivasa
       
    35  */
       
    36  /*  MPX Collection view plugin definition.
       
    37  *
       
    38  *  @lib mpxcollectionviewplugin.lib
       
    39  *  @since S60 v3.0
       
    40  *  
       
    41  */
       
    42 NONSHARABLE_CLASS( CGlxTagGridViewPlugin ) : public CGlxGridViewPluginBase
       
    43     {
       
    44      //Unit Testing
       
    45             
       
    46      friend class ut_CGlxTagGridViewPlugin;
       
    47 public:
       
    48     /**
       
    49      * Two-phased constructor.
       
    50      *
       
    51      * @since 3.0
       
    52      * @return Pointer to newly created object.
       
    53      */
       
    54     static CGlxTagGridViewPlugin* NewL();
       
    55  
       
    56     /**
       
    57      * Destructor.
       
    58      */
       
    59     virtual ~CGlxTagGridViewPlugin();
       
    60 
       
    61 private:
       
    62 	   //From CGlxGridViewPluginBase	
       
    63      /**
       
    64      * Adds Command Handlers to the view
       
    65      */
       
    66     void AddCommandHandlersL();
       
    67     /**
       
    68      * Define the resource file
       
    69      * @param filename
       
    70      */    
       
    71     void GetResourceFilenameL(TFileName& aResFile);
       
    72     
       
    73 private:
       
    74     /**
       
    75      * C++ default constructor.
       
    76      */
       
    77     CGlxTagGridViewPlugin();
       
    78 
       
    79     /**
       
    80      * By default Symbian 2nd phase constructor is private.
       
    81      */
       
    82     void ConstructL();     
       
    83     };
       
    84 
       
    85 #endif  // C_GLXTESTGRIDVIEWPLUGIN_H
       
    86 
       
    87 // End of File