summaryrefslogtreecommitdiffstats
path: root/ui/macosx/cocoa_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui/macosx/cocoa_bridge.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ui/macosx/cocoa_bridge.h b/ui/macosx/cocoa_bridge.h
new file mode 100644
index 00000000..4665fc29
--- /dev/null
+++ b/ui/macosx/cocoa_bridge.h
@@ -0,0 +1,26 @@
+/** @file
+ *
+ * This code was taken directly from:
+ * https://forum.qt.io/topic/82609/remove-native-mac-menu-items-such-as-show-tab-bar
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef COCOABRIDGE_H
+#define COCOABRIDGE_H
+
+class CocoaBridge
+{
+
+ CocoaBridge() {}
+
+public:
+ static void cleanOSGeneratedMenuItems();
+
+};
+
+#endif // COCOABRIDGE_H