summaryrefslogtreecommitdiffstats
path: root/gui/platform.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-18 18:10:41 +0100
committerSky <git@bunnies.cc>2013-10-18 18:10:41 +0100
commitb2574542b1d456a46baa8e6c0d351157b9cb18b3 (patch)
treee004e0894ae40b9a63160ea237b4ef4ec9aceda3 /gui/platform.h
parent709252fe9ecec3cc388966d695844f2593029c4f (diff)
parentdcf58cdf12ae9370ba1bf9d6bb789649db82e520 (diff)
downloadMultiMC-b2574542b1d456a46baa8e6c0d351157b9cb18b3.tar
MultiMC-b2574542b1d456a46baa8e6c0d351157b9cb18b3.tar.gz
MultiMC-b2574542b1d456a46baa8e6c0d351157b9cb18b3.tar.lz
MultiMC-b2574542b1d456a46baa8e6c0d351157b9cb18b3.tar.xz
MultiMC-b2574542b1d456a46baa8e6c0d351157b9cb18b3.zip
Merge branch 'develop' of github.com:MultiMC/MultiMC5 into 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