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