mirror of https://github.com/mgba-emu/mgba.git
Qt: Change header guards to pragma once
This commit is contained in:
parent
ec1fc632b2
commit
3227d74e4d
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_ABOUT_SCREEN
|
||||
#define QGBA_ABOUT_SCREEN
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
|
@ -23,5 +22,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_ARCHIVE_INSPECTOR
|
||||
#define QGBA_ARCHIVE_INSPECTOR
|
||||
#pragma once
|
||||
|
||||
#include "ui_ArchiveInspector.h"
|
||||
|
||||
|
@ -26,5 +25,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_ASSET_TILE
|
||||
#define QGBA_ASSET_TILE
|
||||
#pragma once
|
||||
|
||||
#include "ui_AssetTile.h"
|
||||
|
||||
|
@ -44,5 +43,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_ASSET_VIEW
|
||||
#define QGBA_ASSET_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QTimer>
|
||||
#include <QWidget>
|
||||
|
@ -48,5 +47,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_AUDIO_DEVICE
|
||||
#define QGBA_AUDIO_DEVICE
|
||||
#pragma once
|
||||
|
||||
#include <QAudioFormat>
|
||||
#include <QIODevice>
|
||||
|
@ -31,5 +30,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_AUDIO_PROCESSOR
|
||||
#define QGBA_AUDIO_PROCESSOR
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <memory>
|
||||
|
@ -59,5 +59,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_AUDIO_PROCESSOR_QT
|
||||
#define QGBA_AUDIO_PROCESSOR_QT
|
||||
#pragma once
|
||||
|
||||
#include "AudioProcessor.h"
|
||||
|
||||
class QAudioOutput;
|
||||
|
@ -39,5 +39,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_AUDIO_PROCESSOR_SDL
|
||||
#define QGBA_AUDIO_PROCESSOR_SDL
|
||||
#pragma once
|
||||
|
||||
#include "AudioProcessor.h"
|
||||
|
||||
#ifdef BUILD_SDL
|
||||
|
@ -39,5 +39,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_CHEATS_MODEL
|
||||
#define QGBA_CHEATS_MODEL
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
#include <QFont>
|
||||
|
@ -51,5 +50,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_CHEATS_VIEW
|
||||
#define QGBA_CHEATS_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
@ -44,5 +43,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_COLOR_PICKER
|
||||
#define QGBA_COLOR_PICKER
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
@ -33,5 +32,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_CONFIG_CONTROLLER
|
||||
#define QGBA_CONFIG_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include "Override.h"
|
||||
|
||||
|
@ -110,5 +109,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_CORE_CONTROLLER
|
||||
#define QGBA_CORE_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QList>
|
||||
|
@ -216,5 +215,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_CORE_MANAGER
|
||||
#define QGBA_CORE_MANAGER
|
||||
#pragma once
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QObject>
|
||||
|
@ -41,5 +40,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DEBUGGER_CONSOLE
|
||||
#define QGBA_DEBUGGER_CONSOLE
|
||||
#pragma once
|
||||
|
||||
#include "ui_DebuggerConsole.h"
|
||||
|
||||
|
@ -29,5 +28,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DEBUGGER_CONSOLE_CONTROLLER
|
||||
#define QGBA_DEBUGGER_CONSOLE_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include "DebuggerController.h"
|
||||
|
||||
|
@ -59,5 +58,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DEBUGGER_CONTROLLER
|
||||
#define QGBA_DEBUGGER_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
@ -44,5 +43,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DISPLAY
|
||||
#define QGBA_DISPLAY
|
||||
#pragma once
|
||||
|
||||
#include <mgba-util/common.h>
|
||||
|
||||
|
@ -85,5 +84,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DISPLAY_GL
|
||||
#define QGBA_DISPLAY_GL
|
||||
#pragma once
|
||||
|
||||
#if defined(BUILD_GL) || defined(BUILD_GLES)
|
||||
|
||||
|
@ -130,5 +129,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_DISPLAY_QT
|
||||
#define QGBA_DISPLAY_QT
|
||||
#pragma once
|
||||
|
||||
#include "Display.h"
|
||||
|
||||
|
@ -48,5 +47,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_APP_H
|
||||
#define QGBA_APP_H
|
||||
#pragma once
|
||||
|
||||
#include <QApplication>
|
||||
#include <QFileDialog>
|
||||
|
@ -83,5 +82,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GBA_KEY_EDITOR
|
||||
#define QGBA_GBA_KEY_EDITOR
|
||||
#pragma once
|
||||
|
||||
#include <QList>
|
||||
#include <QPicture>
|
||||
|
@ -92,5 +91,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GBA_OVERRIDE
|
||||
#define QGBA_GBA_OVERRIDE
|
||||
#pragma once
|
||||
|
||||
#include "Override.h"
|
||||
|
||||
|
@ -22,5 +21,3 @@ public:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GB_OVERRIDE
|
||||
#define QGBA_GB_OVERRIDE
|
||||
#pragma once
|
||||
|
||||
#include "Override.h"
|
||||
|
||||
|
@ -22,5 +21,3 @@ public:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GDB_CONTROLLER
|
||||
#define QGBA_GDB_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include "DebuggerController.h"
|
||||
|
||||
|
@ -47,5 +46,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GDB_WINDOW
|
||||
#define QGBA_GDB_WINDOW
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
|
@ -40,5 +39,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GIF_VIEW
|
||||
#define QGBA_GIF_VIEW
|
||||
#pragma once
|
||||
|
||||
#ifdef USE_MAGICK
|
||||
|
||||
|
@ -55,5 +54,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GAMEPAD_AXIS_EVENT
|
||||
#define QGBA_GAMEPAD_AXIS_EVENT
|
||||
#pragma once
|
||||
|
||||
#include <QEvent>
|
||||
|
||||
|
@ -42,5 +41,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GAMEPAD_BUTTON_EVENT
|
||||
#define QGBA_GAMEPAD_BUTTON_EVENT
|
||||
#pragma once
|
||||
|
||||
#include <QEvent>
|
||||
|
||||
|
@ -34,5 +33,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_GAMEPAD_HAT_EVENT
|
||||
#define QGBA_GAMEPAD_HAT_EVENT
|
||||
#pragma once
|
||||
|
||||
#include <QEvent>
|
||||
|
||||
|
@ -44,5 +43,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_IOVIEWER
|
||||
#define QGBA_IOVIEWER
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QList>
|
||||
|
@ -71,5 +70,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_INPUT_CONTROLLER_H
|
||||
#define QGBA_INPUT_CONTROLLER_H
|
||||
#pragma once
|
||||
|
||||
#include "GamepadAxisEvent.h"
|
||||
#include "GamepadHatEvent.h"
|
||||
|
@ -179,5 +178,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_INPUT_PROFILE
|
||||
#define QGBA_INPUT_PROFILE
|
||||
#pragma once
|
||||
|
||||
#include "GamepadAxisEvent.h"
|
||||
|
||||
|
@ -94,5 +93,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_KEY_EDITOR
|
||||
#define QGBA_KEY_EDITOR
|
||||
#pragma once
|
||||
|
||||
#include "GamepadAxisEvent.h"
|
||||
#include "GamepadHatEvent.h"
|
||||
|
@ -64,5 +63,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LOAD_SAVE_STATE
|
||||
#define QGBA_LOAD_SAVE_STATE
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
@ -57,5 +56,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LOG_CONTROLLER
|
||||
#define QGBA_LOG_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include "GBAApp.h"
|
||||
|
||||
|
@ -66,5 +65,3 @@ private:
|
|||
#define LOG(C, L) (*LogController::global())(mLOG_ ## L, _mLOG_CAT_ ## C ())
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LOG_VIEW
|
||||
#define QGBA_LOG_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QQueue>
|
||||
#include <QWidget>
|
||||
|
@ -50,5 +49,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_MEMORY_MODEL
|
||||
#define QGBA_MEMORY_MODEL
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractScrollArea>
|
||||
#include <QFont>
|
||||
|
@ -99,5 +98,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_MEMORY_SEARCH
|
||||
#define QGBA_MEMORY_SEARCH
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -45,5 +44,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_MEMORY_VIEW
|
||||
#define QGBA_MEMORY_VIEW
|
||||
#pragma once
|
||||
|
||||
#include "MemoryModel.h"
|
||||
|
||||
|
@ -38,5 +37,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_MESSAGE_PAINTER
|
||||
#define QGBA_MESSAGE_PAINTER
|
||||
#pragma once
|
||||
|
||||
#include <QMutex>
|
||||
#include <QObject>
|
||||
|
@ -43,5 +42,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_MULTIPLAYER_CONTROLLER
|
||||
#define QGBA_MULTIPLAYER_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include <QMutex>
|
||||
#include <QList>
|
||||
|
@ -64,4 +63,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_OBJ_VIEW
|
||||
#define QGBA_OBJ_VIEW
|
||||
#pragma once
|
||||
|
||||
#include "AssetView.h"
|
||||
|
||||
|
@ -60,5 +59,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_OVERRIDE
|
||||
#define QGBA_OVERRIDE
|
||||
#pragma once
|
||||
|
||||
struct Configuration;
|
||||
struct mCore;
|
||||
|
@ -21,5 +20,3 @@ public:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_OVERRIDE_VIEW
|
||||
#define QGBA_OVERRIDE_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
|
@ -59,5 +58,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_PALETTE_VIEW
|
||||
#define QGBA_PALETTE_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
@ -40,5 +39,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_PRINTER_VIEW
|
||||
#define QGBA_PRINTER_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QPixmap>
|
||||
|
@ -46,5 +45,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_ROM_INFO
|
||||
#define QGBA_ROM_INFO
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
@ -27,5 +26,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SAVESTATE_BUTTON
|
||||
#define QGBA_SAVESTATE_BUTTON
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractButton>
|
||||
|
||||
|
@ -19,5 +18,3 @@ protected:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SENSOR_VIEW
|
||||
#define QGBA_SENSOR_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QTimer>
|
||||
#include <QDialog>
|
||||
|
@ -53,5 +52,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SETTINGS_VIEW
|
||||
#define QGBA_SETTINGS_VIEW
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
|
@ -79,5 +78,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SHADER_SELECTOR_H
|
||||
#define QGBA_SHADER_SELECTOR_H
|
||||
#pragma once
|
||||
|
||||
#if defined(BUILD_GL) || defined(BUILD_GLES)
|
||||
|
||||
|
@ -58,5 +57,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SHORTCUT_MODEL
|
||||
#define QGBA_SHORTCUT_MODEL
|
||||
#pragma once
|
||||
|
||||
#include "GamepadAxisEvent.h"
|
||||
|
||||
|
@ -144,5 +143,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SHORTCUT_VIEW
|
||||
#define QGBA_SHORTCUT_VIEW
|
||||
#pragma once
|
||||
|
||||
#include "GamepadAxisEvent.h"
|
||||
|
||||
|
@ -45,5 +44,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_SWATCH
|
||||
#define QGBA_SWATCH
|
||||
#pragma once
|
||||
|
||||
#include <QColor>
|
||||
#include <QWidget>
|
||||
|
@ -41,5 +40,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_TILE_PAINTER
|
||||
#define QGBA_TILE_PAINTER
|
||||
#pragma once
|
||||
|
||||
#include <QColor>
|
||||
#include <QWidget>
|
||||
|
@ -38,5 +37,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_TILE_VIEW
|
||||
#define QGBA_TILE_VIEW
|
||||
#pragma once
|
||||
|
||||
#include "AssetView.h"
|
||||
|
||||
|
@ -41,5 +40,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_VFILE_DEVICE
|
||||
#define QGBA_VFILE_DEVICE
|
||||
#pragma once
|
||||
|
||||
#include <QFileDevice>
|
||||
|
||||
|
@ -41,5 +40,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_VIDEO_DUMPER
|
||||
#define QGBA_VIDEO_DUMPER
|
||||
#pragma once
|
||||
|
||||
#include <QAbstractVideoSurface>
|
||||
|
||||
namespace QGBA {
|
||||
|
@ -23,5 +23,3 @@ signals:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_VIDEO_VIEW
|
||||
#define QGBA_VIDEO_VIEW
|
||||
#pragma once
|
||||
|
||||
#ifdef USE_FFMPEG
|
||||
|
||||
|
@ -117,5 +116,3 @@ private:
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_WINDOW
|
||||
#define QGBA_WINDOW
|
||||
#pragma once
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QList>
|
||||
|
@ -245,5 +244,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LIBRARY_CONTROLLER
|
||||
#define QGBA_LIBRARY_CONTROLLER
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -125,5 +124,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LIBRARY_GRID
|
||||
#define QGBA_LIBRARY_GRID
|
||||
#pragma once
|
||||
|
||||
#include <QListWidget>
|
||||
|
||||
|
@ -46,5 +45,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_LIBRARY_TREE
|
||||
#define QGBA_LIBRARY_TREE
|
||||
#pragma once
|
||||
|
||||
#include <QTreeWidget>
|
||||
|
||||
|
@ -53,5 +52,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#ifndef QGBA_UTILS_H
|
||||
#define QGBA_UTILS_H
|
||||
#pragma once
|
||||
|
||||
#include <mgba/core/core.h>
|
||||
|
||||
|
@ -16,5 +15,3 @@ QString niceSizeFormat(size_t filesize);
|
|||
QString nicePlatformFormat(mPlatform platform);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue