photosgallery/viewframework/views/gridview/src/glxgridview.cpp
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:    Implementation of Grid view
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include "glxgridview.h" 
       
    24 #include "glxgridviewimp.h"
       
    25 #include <glxlog.h>
       
    26 
       
    27 
       
    28 // ======== MEMBER FUNCTIONS ========
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 // Two-phased constructor.
       
    32 // ---------------------------------------------------------------------------
       
    33 // 
       
    34 EXPORT_C CGlxGridView* CGlxGridView::NewL(MGlxMediaListFactory* aMediaListFactory,
       
    35                                  const TGridViewResourceIds& aResourceIds,
       
    36                                  TInt aViewUID,
       
    37                                  const TDesC& aTitle)
       
    38     {
       
    39     GLX_LOG_INFO("CGlxGridView::NewL()");
       
    40     return CGlxGridViewImp::NewL(aMediaListFactory,
       
    41                                  aResourceIds,
       
    42                                  aViewUID,
       
    43                                  aTitle);
       
    44     }
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // Two-phased constructor.
       
    48 // ---------------------------------------------------------------------------
       
    49 //
       
    50 EXPORT_C CGlxGridView* CGlxGridView::NewLC(MGlxMediaListFactory* aMediaListFactory,
       
    51                                  const TGridViewResourceIds& aResourceIds,
       
    52                                  TInt aViewUID,
       
    53                                  const TDesC& aTitle)
       
    54     {
       
    55     GLX_LOG_INFO("CGlxGridView::NewLC()");
       
    56     return CGlxGridViewImp::NewLC(aMediaListFactory,
       
    57                                   aResourceIds,
       
    58                                   aViewUID,
       
    59                                   aTitle);
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // Destructor
       
    64 // ---------------------------------------------------------------------------
       
    65 //
       
    66 CGlxGridView::~CGlxGridView()
       
    67     {
       
    68     GLX_LOG_INFO("CGlxGridView::~CGlxGridView()");
       
    69     // Do nothing
       
    70     }
       
    71 
       
    72 //  End of File