alfwidgetutils/src/alfwidgetfactoryloader.cpp
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     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:  Encapsulates widget factory plugin loading mechanism
       
    15 *
       
    16 */
       
    17 
       
    18 #include <osn/osnnew.h>
       
    19 #include <alf/alfwidgetfactoryloader.h>
       
    20 #include "alfwidgetfactoryloaderimpl.h"
       
    21 
       
    22 namespace Alf
       
    23     {
       
    24 
       
    25 OSN_EXPORT AlfWidgetFactoryLoader::AlfWidgetFactoryLoader():
       
    26         mImpl(new (EMM)AlfWidgetFactoryLoaderImpl())
       
    27     {
       
    28 
       
    29     }
       
    30 
       
    31 OSN_EXPORT AlfWidgetFactoryLoader::~AlfWidgetFactoryLoader()
       
    32     {
       
    33 
       
    34     }
       
    35 
       
    36 OSN_EXPORT IAlfWidgetFactory* AlfWidgetFactoryLoader::loadWidgetFactory(
       
    37     CAlfEnv& aEnv)
       
    38     {
       
    39     return mImpl->load(aEnv);
       
    40     }
       
    41 
       
    42     }
       
    43 
       
    44 
       
    45 // End of File
       
    46