forked from qt-creator/qt-creator
QmlProfiler: reading column information in bindings
Change-Id: I1a99c3508de733d98eb99f41419eccfdca030fe0 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
19
src/libs/qmljsdebugclient/qmlprofilereventlocation.h
Normal file
19
src/libs/qmljsdebugclient/qmlprofilereventlocation.h
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user