include guards
This commit is contained in:
parent
cf890b5824
commit
a7b3b26f20
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#ifndef QSK_LEVELING_SENSOR_H
|
||||||
|
#define QSK_LEVELING_SENSOR_H
|
||||||
|
|
||||||
#include <QskControl.h>
|
#include <QskControl.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -40,3 +41,5 @@ class QSK_EXPORT QskLevelingSensor : public QskControl
|
||||||
class PrivateData;
|
class PrivateData;
|
||||||
std::unique_ptr< PrivateData > m_data;
|
std::unique_ptr< PrivateData > m_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#ifndef QSK_LEVELING_SENSOR_SKINLET_H
|
||||||
|
#define QSK_LEVELING_SENSOR_SKINLET_H
|
||||||
|
|
||||||
#include <QSGNode>
|
#include <QSGNode>
|
||||||
#include <QskSkinlet.h>
|
#include <QskSkinlet.h>
|
||||||
|
@ -50,3 +51,5 @@ class QSK_EXPORT QskLevelingSensorSkinlet : public QskSkinlet
|
||||||
Q_REQUIRED_RESULT QSGNode* updateSubNode(
|
Q_REQUIRED_RESULT QSGNode* updateSubNode(
|
||||||
const QskLevelingSensor* sensor, quint8 nodeRole, QSGNode* node ) const;
|
const QskLevelingSensor* sensor, quint8 nodeRole, QSGNode* node ) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#ifndef QSK_LEVELING_SENSOR_NODES_H
|
||||||
|
#define QSK_LEVELING_SENSOR_NODES_H
|
||||||
|
|
||||||
#include "QskLevelingSensorUtility.h"
|
#include "QskLevelingSensorUtility.h"
|
||||||
|
|
||||||
|
@ -316,3 +317,5 @@ struct RadialTickmarksLabelsNode final : public TickmarksLabelsNode< RadialTickm
|
||||||
} * s + o;
|
} * s + o;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#ifndef QSK_LEVELING_SENSOR_UTILITY_H
|
||||||
|
#define QSK_LEVELING_SENSOR_UTILITY_H
|
||||||
|
|
||||||
#include <qmath.h>
|
#include <qmath.h>
|
||||||
#include <qmatrix4x4.h>
|
#include <qmatrix4x4.h>
|
||||||
|
@ -72,3 +73,5 @@ inline QskScaleTickmarks filtered( const QskScaleTickmarks& tickmarks,
|
||||||
result.setMajorTicks( ticks[ QskScaleTickmarks::MajorTick ] );
|
result.setMajorTicks( ticks[ QskScaleTickmarks::MajorTick ] );
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#ifndef QSK_SGNODE_UTILITY_H
|
||||||
|
#define QSK_SGNODE_UTILITY_H
|
||||||
|
|
||||||
#include <QSGNode>
|
#include <QSGNode>
|
||||||
|
|
||||||
|
@ -36,3 +37,5 @@ namespace QskSGNode
|
||||||
return static_cast< Root* >( root );
|
return static_cast< Root* >( root );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue