diff options
author | Kissaki <kissaki@gmx.de> | 2013-01-13 03:06:29 +0400 |
---|---|---|
committer | Kissaki <kissaki@gmx.de> | 2013-06-04 23:59:51 +0400 |
commit | 7642e722ff8c10b6c5e7641d7d54d576fd96b50c (patch) | |
tree | e0f4bbc0b678dbe72296010ebe6c9a37b9390a74 /src/mumble | |
parent | 40ca9b4507eed28c800fa724770d70cccc273882 (diff) |
Adjust header guard defines for uniformity
* Append underline to header guard defines to match the others (except ui_)
* Add guard to header files GlobalShortcut
* Adjust mklic.pl script to add guard to licenses.h,
and add updated licenses.h.
Diffstat (limited to 'src/mumble')
-rw-r--r-- | src/mumble/GlobalShortcut_macx.h | 5 | ||||
-rw-r--r-- | src/mumble/GlobalShortcut_unix.h | 5 | ||||
-rw-r--r-- | src/mumble/GlobalShortcut_win.h | 5 | ||||
-rw-r--r-- | src/mumble/murmur_pch.h | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/src/mumble/GlobalShortcut_macx.h b/src/mumble/GlobalShortcut_macx.h index 98e4d3acb..60ccdb82e 100644 --- a/src/mumble/GlobalShortcut_macx.h +++ b/src/mumble/GlobalShortcut_macx.h @@ -29,6 +29,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef GLOBALSHORTCUT_MACX_H_ +#define GLOBALSHORTCUT_MACX_H_ + #include <stdlib.h> #include <QtCore/QObject> @@ -70,3 +73,5 @@ class GlobalShortcutMac : public GlobalShortcutEngine { QString translateModifierKey(const unsigned int keycode) const; QString translateKeyName(const unsigned int keycode) const; }; + +#endif diff --git a/src/mumble/GlobalShortcut_unix.h b/src/mumble/GlobalShortcut_unix.h index 48d12ef04..625018bfd 100644 --- a/src/mumble/GlobalShortcut_unix.h +++ b/src/mumble/GlobalShortcut_unix.h @@ -28,6 +28,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef GLOBALSHORTCUT_UNIX_H_ +#define GLOBALSHORTCUT_UNIX_H_ + #include "GlobalShortcut.h" #include "ConfigDialog.h" #include "Global.h" @@ -71,3 +74,5 @@ class GlobalShortcutX : public GlobalShortcutEngine { void inputReadyRead(int); void directoryChanged(const QString &); }; + +#endif diff --git a/src/mumble/GlobalShortcut_win.h b/src/mumble/GlobalShortcut_win.h index b554c8e8a..a27885121 100644 --- a/src/mumble/GlobalShortcut_win.h +++ b/src/mumble/GlobalShortcut_win.h @@ -28,6 +28,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef GLOBALSHORTCUT_WIN_H_ +#define GLOBALSHORTCUT_WIN_H_ + #include "GlobalShortcut.h" #include "Timer.h" @@ -87,3 +90,5 @@ class GlobalShortcutWin : public GlobalShortcutEngine { }; uint qHash(const GUID &); + +#endif diff --git a/src/mumble/murmur_pch.h b/src/mumble/murmur_pch.h index 36b3ae1f3..54a417d13 100644 --- a/src/mumble/murmur_pch.h +++ b/src/mumble/murmur_pch.h @@ -1 +1,6 @@ +#ifndef MURMUR_PCH_H_ +#define MURMUR_PCH_H_ + #include "mumble_pch.hpp" + +#endif |