camerauis/cameraapp/generic/src/camvfgridfactory.cpp
changeset 0 1ddebce53859
child 25 2c87b2808fd7
equal deleted inserted replaced
-1:000000000000 0:1ddebce53859
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Implemantation for CCamVfGridFactory class.
       
    15 *
       
    16 * Copyright © 2007 Nokia.  All rights reserved.
       
    17 *  This material, including documentation and any related computer
       
    18 *  programs, is protected by copyright controlled by Nokia.  All
       
    19 *  rights are reserved.  Copying, including reproducing, storing,
       
    20 *  adapting or translating, any or all of this material requires the
       
    21 *  prior written consent of Nokia.  This material also contains
       
    22 *  confidential information which may not be disclosed to others
       
    23 *  without the prior written consent of Nokia.
       
    24 
       
    25 *
       
    26 *
       
    27 */
       
    28 
       
    29 
       
    30 #include "camvfgridinterface.h"
       
    31 
       
    32 #include "camlinevfgriddrawer.h" // CCamLineVfGridDrawer
       
    33 
       
    34 //static 
       
    35 MCamVfGridDrawer* 
       
    36 CCamVfGridFactory::CreateVfGridDrawerL( TUid aUid )
       
    37   {
       
    38   switch( aUid.iUid )
       
    39     {
       
    40     case KCamLineDrawVfGridUid:
       
    41       return CCamLineVfGridDrawer::NewL();
       
    42     default:
       
    43       return NULL;
       
    44     }    
       
    45   }
       
    46 
       
    47