summaryrefslogtreecommitdiffstats
path: root/gui/platform.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-21 18:24:29 +0100
committerSky <git@bunnies.cc>2013-10-21 18:24:29 +0100
commitaaf6fe894406ab8aa814de83692504493060e303 (patch)
treea7ac3a60534322f70cbdc34111228885e0606691 /gui/platform.h
parent6892c11e9f287dcfb1e698f8f46233a01fb7abb6 (diff)
parent11813a0621dd7b500c2d7966a2671c0ab93be692 (diff)
downloadMultiMC-aaf6fe894406ab8aa814de83692504493060e303.tar
MultiMC-aaf6fe894406ab8aa814de83692504493060e303.tar.gz
MultiMC-aaf6fe894406ab8aa814de83692504493060e303.tar.lz
MultiMC-aaf6fe894406ab8aa814de83692504493060e303.tar.xz
MultiMC-aaf6fe894406ab8aa814de83692504493060e303.zip
Merge branch 'develop'
Diffstat (limited to 'gui/platform.h')
-rw-r--r--gui/platform.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gui/platform.h b/gui/platform.h
new file mode 100644
index 00000000..5cf9ed80
--- /dev/null
+++ b/gui/platform.h
@@ -0,0 +1,35 @@
+/* Copyright 2013 MultiMC Contributors
+ *
+ * Authors: Orochimarufan <orochimarufan.x3@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef PLATFORM_H
+#define PLATFORM_H
+
+/**
+ * @file platform.h
+ * This file contains platform-specific functions, tweaks and fixes.
+ */
+
+#include <QWidget>
+
+class MultiMCPlatform
+{
+public:
+ // X11 WM_CLASS
+ static void fixWM_CLASS(QWidget *widget);
+};
+
+#endif // PLATFORM_H