alfwidgetutils/src/alffactorypluginloader.cpp
branchRCL_3
changeset 26 0e9bb658ef58
parent 0 e83bab7cf002
equal deleted inserted replaced
25:4ea6f81c838a 26:0e9bb658ef58
       
     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 factory plugin loading mechanism
       
    15 *
       
    16 */
       
    17 
       
    18 #include <osn/osnnew.h>
       
    19 #include <alf/alffactorypluginloader.h>
       
    20 #include "alffactorypluginloaderimpl.h"
       
    21 
       
    22 namespace Alf
       
    23     {
       
    24 
       
    25 
       
    26 OSN_EXPORT AlfFactoryPluginLoader::AlfFactoryPluginLoader():
       
    27         mImpl(new (EMM)AlfFactoryPluginLoaderImpl())
       
    28     {
       
    29 
       
    30     }
       
    31 
       
    32 OSN_EXPORT AlfFactoryPluginLoader::~AlfFactoryPluginLoader()
       
    33     {
       
    34 
       
    35     }
       
    36 
       
    37 OSN_EXPORT IAlfFactoryPlugin* AlfFactoryPluginLoader::loadFactoryPlugin(
       
    38     const char*  aLoadId)
       
    39     {
       
    40     return mImpl->load(aLoadId);
       
    41     }
       
    42 
       
    43     }
       
    44 
       
    45 // End of File