diff options
author | Orochimarufan <orochimarufan.x3@gmail.com> | 2013-10-18 18:42:41 +0200 |
---|---|---|
committer | Orochimarufan <orochimarufan.x3@gmail.com> | 2013-10-18 18:43:19 +0200 |
commit | 78882ff6b13ea8c5e7c14bee51c87f199e9c8a20 (patch) | |
tree | fda586f881ed78256a00937c17d0992f261a6b52 /gui/platform.h | |
parent | 205570be32b5cbd40eeb2b7e2d8d4fe116b07f64 (diff) | |
download | PrismLauncher-78882ff6b13ea8c5e7c14bee51c87f199e9c8a20.tar.gz PrismLauncher-78882ff6b13ea8c5e7c14bee51c87f199e9c8a20.tar.bz2 PrismLauncher-78882ff6b13ea8c5e7c14bee51c87f199e9c8a20.zip |
Fix MainWindow Icon; Fix WM_CLASS issue; now links QX11Extras and libxcb on linux
Diffstat (limited to 'gui/platform.h')
-rw-r--r-- | gui/platform.h | 35 |
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 |