summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljspreviewrunner.h
blob: 1a3c26370fadf12e817143eccdc2d40a23d3d76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef QMLJSPREVIEWRUNNER_H
#define QMLJSPREVIEWRUNNER_H

#include <QObject>

#include <projectexplorer/applicationlauncher.h>

namespace QmlJSEditor {
namespace Internal {

class QmlJSPreviewRunner : public QObject
{
    Q_OBJECT
public:
    explicit QmlJSPreviewRunner(QObject *parent = 0);

    bool isReady() const;
    void run(const QString &filename);

signals:

public slots:

private:
    QString m_qmlViewerDefaultPath;

    ProjectExplorer::ApplicationLauncher m_applicationLauncher;

};


} // namespace Internal
} // namespace QmlJSEditor


#endif // QMLJSPREVIEWRUNNER_H