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 <memory>
|
||||
|
@ -39,4 +40,6 @@ class QSK_EXPORT QskLevelingSensor : public QskControl
|
|||
private:
|
||||
class PrivateData;
|
||||
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 <QskSkinlet.h>
|
||||
|
@ -50,3 +51,5 @@ class QSK_EXPORT QskLevelingSensorSkinlet : public QskSkinlet
|
|||
Q_REQUIRED_RESULT QSGNode* updateSubNode(
|
||||
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"
|
||||
|
||||
|
@ -316,3 +317,5 @@ struct RadialTickmarksLabelsNode final : public TickmarksLabelsNode< RadialTickm
|
|||
} * 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 <qmatrix4x4.h>
|
||||
|
@ -71,4 +72,6 @@ inline QskScaleTickmarks filtered( const QskScaleTickmarks& tickmarks,
|
|||
result.setMediumTicks( ticks[ QskScaleTickmarks::MediumTick ] );
|
||||
result.setMajorTicks( ticks[ QskScaleTickmarks::MajorTick ] );
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#ifndef QSK_SGNODE_UTILITY_H
|
||||
#define QSK_SGNODE_UTILITY_H
|
||||
|
||||
#include <QSGNode>
|
||||
|
||||
|
@ -35,4 +36,6 @@ namespace QskSGNode
|
|||
|
||||
return static_cast< Root* >( root );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue