photosgallery/viewframework/views/fullscreenview/inc/glxfullscreenview.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:    Tile view implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef C_GLXFULLSCREENVIEW_H
       
    23 #define C_GLXFULLSCREENVIEW_H
       
    24 
       
    25 
       
    26 // INCLUDES
       
    27 #include <glxmedialistviewbase.h>
       
    28 
       
    29 
       
    30     class TFullScreenViewResourceIds 
       
    31         {
       
    32     public:
       
    33         TInt           iViewId;     // a AVKON_VIEW
       
    34         TInt           iMenuId;     // a MENU_PANE
       
    35         TInt           iCbaId;      // a CBA
       
    36         };
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41  *  Tile view
       
    42  *
       
    43  *  @lib glxtileview.lib
       
    44  */
       
    45 NONSHARABLE_CLASS(CGlxFullScreenView) : public CGlxMediaListViewBase
       
    46     {
       
    47 public:
       
    48 
       
    49     /**
       
    50      * Two-phased constructor.
       
    51      *
       
    52      * @since 3.0
       
    53      * @return Pointer to newly created object.
       
    54      */
       
    55     IMPORT_C static CGlxFullScreenView* NewL(MGlxMediaListFactory* aMediaListFactory,
       
    56                                  const TFullScreenViewResourceIds& aResourceIds,
       
    57                                  TInt aViewUID,
       
    58                                  const TDesC& aTitle = KNullDesC());
       
    59 
       
    60     /**
       
    61      * Two-phased constructor.
       
    62      *
       
    63      * @since 3.0
       
    64      * @return Pointer to newly created object.
       
    65      */
       
    66     IMPORT_C static CGlxFullScreenView* NewLC(MGlxMediaListFactory* aMediaListFactory,
       
    67                                  const TFullScreenViewResourceIds& aResourceIds,
       
    68                                  TInt aViewUID,
       
    69                                  const TDesC& aTitle = KNullDesC());
       
    70 
       
    71     /**
       
    72      * Destructor.
       
    73      */
       
    74     virtual ~CGlxFullScreenView();
       
    75     };
       
    76 #endif  // C_GLXFULLSCREENVIEW_H
       
    77 
       
    78 // End of File