added header-guard

This commit is contained in:
dushyant basson
2023-09-05 18:26:12 +05:30
parent 6e7a43409e
commit 3bb8bd5000
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -1,3 +1,6 @@
#ifndef MESSAGELOGGER_H
#define MESSAGELOGGER_H
#include <QObject>
#include <string>
@@ -38,3 +41,5 @@ private:
// Disable copy assignment operator for MessageLogger
MessageLogger& operator=(const MessageLogger&) = delete;
};
#endif // MESSAGELOGGER_H
+6 -1
View File
@@ -1,3 +1,6 @@
#ifndef MOUSEHANDLER_H
#define MOUSEHANDLER_H
#include <osgViewer/Viewer>
#include <osgGA/TrackballManipulator>
@@ -10,7 +13,9 @@ class MouseHandler : public osgGA::TrackballManipulator
virtual bool handle(
const osgGA::GUIEventAdapter& ea,
const osgGA::GUIActionAdapter& aa
);
);
private:
osgViewer::Viewer* viewer;
};
#endif // MOUSEHANDLER_H