From 86e2ce068433f900eaa0f70a6ed282db1b690299 Mon Sep 17 00:00:00 2001 From: Felix Weilbach Date: Fri, 15 Jan 2021 14:10:19 +0100 Subject: [PATCH] Updated Coding Style (markdown) --- Coding-Style.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Coding-Style.md b/Coding-Style.md index d4eaa78..70b6710 100644 --- a/Coding-Style.md +++ b/Coding-Style.md @@ -12,6 +12,10 @@ The coding style of the project is based on the coding style of [Qt](https://www Member variables should be prefixed with a underscore. For example write `_myClassVariable` instead of `myClassVariable`. +## Header files + +Every header file should contain a copyright note and `#pragma once` should preferred instead of `#ifndef` header guards. + ## STL When possible use data structures from Qt. For example use `QVector` instead of `std::vector`.