appfoundation/appruntimemodel/inc/hsruntimeprovidermanifest.h
author hgs
Fri, 28 May 2010 16:17:03 +0300
changeset 96 5d243a69bdda
parent 85 7feec50967db
permissions -rw-r--r--
201021
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
7feec50967db 201003_02
hgs
parents:
diff changeset
     1
/*
7feec50967db 201003_02
hgs
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
7feec50967db 201003_02
hgs
parents:
diff changeset
     3
* All rights reserved.
7feec50967db 201003_02
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
7feec50967db 201003_02
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
7feec50967db 201003_02
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
7feec50967db 201003_02
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
7feec50967db 201003_02
hgs
parents:
diff changeset
     8
*
7feec50967db 201003_02
hgs
parents:
diff changeset
     9
* Initial Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
7feec50967db 201003_02
hgs
parents:
diff changeset
    11
*
7feec50967db 201003_02
hgs
parents:
diff changeset
    12
* Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    13
*
7feec50967db 201003_02
hgs
parents:
diff changeset
    14
* Description:  HsRuntime provider manifest.
7feec50967db 201003_02
hgs
parents:
diff changeset
    15
*
7feec50967db 201003_02
hgs
parents:
diff changeset
    16
*/
7feec50967db 201003_02
hgs
parents:
diff changeset
    17
7feec50967db 201003_02
hgs
parents:
diff changeset
    18
7feec50967db 201003_02
hgs
parents:
diff changeset
    19
#ifndef HSRUNTIMEPROVIDERMANIFEST_H
7feec50967db 201003_02
hgs
parents:
diff changeset
    20
#define HSRUNTIMEPROVIDERMANIFEST_H
7feec50967db 201003_02
hgs
parents:
diff changeset
    21
7feec50967db 201003_02
hgs
parents:
diff changeset
    22
#include <QObject>
7feec50967db 201003_02
hgs
parents:
diff changeset
    23
7feec50967db 201003_02
hgs
parents:
diff changeset
    24
#include "hsruntimemodel_global.h"
7feec50967db 201003_02
hgs
parents:
diff changeset
    25
#include "hsiruntimeprovider.h"
7feec50967db 201003_02
hgs
parents:
diff changeset
    26
7feec50967db 201003_02
hgs
parents:
diff changeset
    27
class HsRuntimeProviderManifestPrivate;
7feec50967db 201003_02
hgs
parents:
diff changeset
    28
7feec50967db 201003_02
hgs
parents:
diff changeset
    29
class HSRUNTIMEMODEL_EXPORT HsRuntimeProviderManifest : public QObject
7feec50967db 201003_02
hgs
parents:
diff changeset
    30
{
7feec50967db 201003_02
hgs
parents:
diff changeset
    31
    Q_OBJECT
7feec50967db 201003_02
hgs
parents:
diff changeset
    32
7feec50967db 201003_02
hgs
parents:
diff changeset
    33
public:
7feec50967db 201003_02
hgs
parents:
diff changeset
    34
7feec50967db 201003_02
hgs
parents:
diff changeset
    35
    HsRuntimeProviderManifest(QObject* aParent = 0);   
7feec50967db 201003_02
hgs
parents:
diff changeset
    36
    virtual ~HsRuntimeProviderManifest();
7feec50967db 201003_02
hgs
parents:
diff changeset
    37
7feec50967db 201003_02
hgs
parents:
diff changeset
    38
    bool loadFromXml(const QString& aFileName) const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    39
    QList<HsRuntimeToken> runtimes() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    40
    bool loadOnQuery() const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    41
7feec50967db 201003_02
hgs
parents:
diff changeset
    42
private:
7feec50967db 201003_02
hgs
parents:
diff changeset
    43
    Q_DISABLE_COPY(HsRuntimeProviderManifest)
7feec50967db 201003_02
hgs
parents:
diff changeset
    44
7feec50967db 201003_02
hgs
parents:
diff changeset
    45
private:
7feec50967db 201003_02
hgs
parents:
diff changeset
    46
    HsRuntimeProviderManifestPrivate* mD;
7feec50967db 201003_02
hgs
parents:
diff changeset
    47
    friend class HsRuntimeProviderManifestPrivate;
7feec50967db 201003_02
hgs
parents:
diff changeset
    48
7feec50967db 201003_02
hgs
parents:
diff changeset
    49
};
7feec50967db 201003_02
hgs
parents:
diff changeset
    50
7feec50967db 201003_02
hgs
parents:
diff changeset
    51
#endif