aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljsdebugclient/qmlprofilereventlocation.h
blob: e54077304d79ea60dea4924fc507a750691b9cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef QMLPROFILEREVENTLOCATION_H
#define QMLPROFILEREVENTLOCATION_H

#include "qmljsdebugclient_global.h"

namespace QmlJsDebugClient {

struct QMLJSDEBUGCLIENT_EXPORT QmlEventLocation
{
    QmlEventLocation() : line(-1),column(-1) {}
    QmlEventLocation(const QString &file, int lineNumber, int columnNumber) : filename(file), line(lineNumber), column(columnNumber) {}
    QString filename;
    int line;
    int column;
};

}

#endif // QMLPROFILEREVENTLOCATION_H