camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeviewfindercontrolsymbian/cxefakecontainer.cpp
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cxutils.h"
       
    19 #include "cxefakecontainer.h"
       
    20 
       
    21 /**
       
    22 * CxeFakeContainer::create()
       
    23 */
       
    24 CxeFakeContainer* CxeFakeContainer::create()
       
    25 {
       
    26     CX_DEBUG_ENTER_FUNCTION();
       
    27 
       
    28     CxeFakeContainer* me = new CxeFakeContainer();
       
    29     me->init();
       
    30 
       
    31     CX_DEBUG_EXIT_FUNCTION();
       
    32     return me;
       
    33 }
       
    34 
       
    35 /**
       
    36 * CxeFakeContainer::~CxeFakeContainer()
       
    37 */
       
    38 CxeFakeContainer::~CxeFakeContainer()
       
    39 {
       
    40     CX_DEBUG_IN_FUNCTION();
       
    41 }
       
    42 
       
    43 /**
       
    44 * CxeFakeContainer::init()
       
    45 */
       
    46 void CxeFakeContainer::init()
       
    47 {
       
    48     QT_TRANSLATE_SYMBIAN_LEAVE_TO_EXCEPTION(
       
    49         {
       
    50         CreateWindowL();
       
    51         SetSize(TSize(640,360));
       
    52         ActivateL();        
       
    53         });
       
    54 }
       
    55 
       
    56 /**
       
    57 * CxeFakeContainer::CxeFakeContainer()
       
    58 */
       
    59 CxeFakeContainer::CxeFakeContainer()
       
    60     : CCoeControl()
       
    61 {
       
    62     CX_DEBUG_IN_FUNCTION();
       
    63 }
       
    64 
       
    65 // end of file