forked from simulationcraft/simc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsc_importWindow.hpp
49 lines (38 loc) · 1.17 KB
/
sc_importWindow.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// ==========================================================================
// Dedmonwakeen's Raid DPS/TPS Simulator.
// Send questions to [email protected]
// ==========================================================================
#ifndef SC_IMPORTWINDOW_HPP
#define SC_IMPORTWINDOW_HPP
// Workaround for "combaseapi.h(229): error C2187: syntax error: 'identifier' was unexpected here" when using
// /permissive- Qt includes the 8.1 SDK which is unfortunately not /permissive- compliant
#if defined( _WIN32 ) && !defined( _WIN32_WINNT_WINTHRESHOLD )
struct IUnknown;
#endif
#include <QDebug>
#include <QShortcut>
#include <QtWidgets/QtWidgets>
class SC_MainWindow;
#include "sc_importWidget.hpp"
class BattleNetImportWindow : public QWidget
{
Q_OBJECT
// Components
SC_MainWindow* m_mainWindow;
QShortcut* m_shortcut;
BattleNetImportWidget* m_importWidget;
bool m_embedded;
public:
BattleNetImportWindow( SC_MainWindow* parent, bool embedded );
QSize sizeHint() const override
{
return m_importWidget->sizeHint();
}
BattleNetImportWidget* widget() const
{
return m_importWidget;
}
public slots:
void toggle();
};
#endif /* SC_IMPORTWINDOW_HPP */