appfoundation/appruntimemodel/inc/hsruntimeprovidermanifest.h
branchGCC_SURGE
changeset 105 e7325f632549
parent 81 5ef31a21fdd5
parent 104 9b022b1f357c
equal deleted inserted replaced
81:5ef31a21fdd5 105:e7325f632549
     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 provider manifest.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HSRUNTIMEPROVIDERMANIFEST_H
       
    20 #define HSRUNTIMEPROVIDERMANIFEST_H
       
    21 
       
    22 #include <QObject>
       
    23 
       
    24 #include "hsruntimemodel_global.h"
       
    25 #include "hsiruntimeprovider.h"
       
    26 
       
    27 class HsRuntimeProviderManifestPrivate;
       
    28 
       
    29 class HSRUNTIMEMODEL_EXPORT HsRuntimeProviderManifest : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public:
       
    34 
       
    35     HsRuntimeProviderManifest(QObject* aParent = 0);   
       
    36     virtual ~HsRuntimeProviderManifest();
       
    37 
       
    38     bool loadFromXml(const QString& aFileName) const;
       
    39     QList<HsRuntimeToken> runtimes() const;
       
    40     bool loadOnQuery() const;
       
    41 
       
    42 private:
       
    43     Q_DISABLE_COPY(HsRuntimeProviderManifest)
       
    44 
       
    45 private:
       
    46     HsRuntimeProviderManifestPrivate* mD;
       
    47     friend class HsRuntimeProviderManifestPrivate;
       
    48 
       
    49 };
       
    50 
       
    51 #endif