summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljspreviewrunner.h
blob: 869327b10cc356e6726400fd25082174543d2d8f (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
#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);
    void run(const QString &filename);

signals:

public slots:

private:
    QString m_qmlViewerDefaultPath;

    ProjectExplorer::ApplicationLauncher m_applicationLauncher;

};


} // namespace Internal
} // namespace QmlJSEditor


#endif // QMLJSPREVIEWRUNNER_H