homescreensrv_plat/appruntimemodel_api/hsruntimefactory.h
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 104 9b022b1f357c
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
     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:  HsRuntime factory.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HSRUNTIMEFACTORY_H
       
    20 #define HSRUNTIMEFACTORY_H
       
    21 
       
    22 #include <QObject>
       
    23 
       
    24 #include "hsruntimemodel_global.h"
       
    25 #include "hsiruntimeprovider.h"
       
    26 
       
    27 class HsRuntimeFactoryPrivate;
       
    28 
       
    29 class HSRUNTIMEMODEL_EXPORT HsRuntimeFactory : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:
       
    34     HsRuntimeFactory(const QString& aPluginManifestDirectory,
       
    35                  const QString& aPluginDirectory,
       
    36                  QObject* aParent = 0);
       
    37     virtual ~HsRuntimeFactory();
       
    38 
       
    39     QList<HsRuntimeToken> runtimes();
       
    40     HsRuntime* createRuntime(const HsRuntimeToken& aToken);
       
    41 
       
    42 private:
       
    43     Q_DISABLE_COPY(HsRuntimeFactory)
       
    44 
       
    45 private:
       
    46     HsRuntimeFactoryPrivate* mD;
       
    47     friend class HsRuntimeFactoryPrivate;
       
    48 
       
    49 };
       
    50 
       
    51 #endif