summaryrefslogtreecommitdiffstats
path: root/examples/qpa/windows/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpa/windows/window.h')
-rw-r--r--examples/qpa/windows/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/qpa/windows/window.h b/examples/qpa/windows/window.h
index 0e0aca40c8..c7eae4028a 100644
--- a/examples/qpa/windows/window.h
+++ b/examples/qpa/windows/window.h
@@ -1,6 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+#ifndef WINDOW_H
+#define WINDOW_H
+
#include <QWindow>
#include <QImage>
@@ -34,3 +37,5 @@ private:
QBackingStore *m_backingStore;
int m_renderTimer;
};
+
+#endif // WINDOW_H