photosgallery/viewframework/plugins/gridviewplugin/inc/glxmaingridviewplugin.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 
       
    22 #ifndef C_GLXMAINGRIDVIEWPLUGIN_H
       
    23 #define C_GLXMAINGRIDVIEWPLUGIN_H
       
    24 
       
    25 
       
    26 // INCLUDES
       
    27 #include <glxgridviewpluginbase.h>
       
    28 
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33  *  MPX Collection view plugin definition.
       
    34  *
       
    35  *  @lib mpxcollectionviewplugin.lib
       
    36  *  @since S60 v3.0
       
    37  */
       
    38 NONSHARABLE_CLASS( CGlxMainGridViewPlugin ) : public CGlxGridViewPluginBase
       
    39     {
       
    40 public:
       
    41 
       
    42     /**
       
    43      * Two-phased constructor.
       
    44      *
       
    45      * @since 3.0
       
    46      * @return Pointer to newly created object.
       
    47      */
       
    48     static CGlxMainGridViewPlugin* NewL();
       
    49 
       
    50     /**
       
    51      * Destructor.
       
    52      */
       
    53     virtual ~CGlxMainGridViewPlugin();
       
    54 
       
    55 
       
    56 private:
       
    57 
       
    58     /**
       
    59       * Add plugin specific command handlers
       
    60       */     
       
    61     void AddCommandHandlersL();
       
    62  
       
    63     /**
       
    64      * From CGlxGridViewPluginBase
       
    65      *
       
    66      */
       
    67     
       
    68     void GetResourceFilenameL(TFileName& aResFile);
       
    69 
       
    70 
       
    71 
       
    72 private:
       
    73 
       
    74     /**
       
    75      * C++ default constructor.
       
    76      */
       
    77     CGlxMainGridViewPlugin();
       
    78 
       
    79     /**
       
    80      * By default Symbian 2nd phase constructor is private.
       
    81      */
       
    82     void ConstructL();
       
    83 
       
    84 
       
    85     };
       
    86 
       
    87 #endif  // C_GLXMAINGRIDVIEWPLUGIN_H
       
    88 
       
    89 // End of File