mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-18 10:20:41 +00:00
DLC: Use forward declaration where appropriate
This commit is contained in:
parent
708432c163
commit
097b049aea
@ -21,12 +21,14 @@
|
||||
|
||||
#include "common/system.h"
|
||||
|
||||
#include "backends/dlc/android/playstore.h"
|
||||
#include "backends/dlc/dlcmanager.h"
|
||||
#include "backends/dlc/dlcdesc.h"
|
||||
#include "backends/dlc/android/playstore.h"
|
||||
#include "backends/dlc/scummvmcloud.h"
|
||||
#include "backends/dlc/android/playstore.h"
|
||||
|
||||
#include "gui/dlcsdialog.h"
|
||||
#include "gui/launcher.h"
|
||||
|
||||
namespace Common {
|
||||
|
||||
|
@ -28,12 +28,18 @@
|
||||
#include "common/singleton.h"
|
||||
|
||||
#include "gui/object.h"
|
||||
#include "gui/launcher.h"
|
||||
|
||||
#include "backends/dlc/store.h"
|
||||
#include "backends/dlc/dlcdesc.h"
|
||||
#include "backends/networking/curl/request.h"
|
||||
|
||||
namespace GUI {
|
||||
class LauncherDialog;
|
||||
}
|
||||
|
||||
namespace DLC {
|
||||
class Store;
|
||||
struct DLCDesc;
|
||||
}
|
||||
|
||||
namespace DLC {
|
||||
|
||||
class DLCManager : public Common::Singleton<DLCManager>, public GUI::CommandSender {
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#include "gui/gui-manager.h"
|
||||
|
||||
#include "backends/networking/curl/sessionrequest.h"
|
||||
#include "backends/dlc/scummvmcloud.h"
|
||||
#include "backends/dlc/dlcmanager.h"
|
||||
|
||||
|
@ -26,10 +26,13 @@
|
||||
|
||||
#include "backends/dlc/store.h"
|
||||
#include "backends/dlc/dlcdesc.h"
|
||||
#include "backends/networking/curl/session.h"
|
||||
#include "backends/networking/curl/request.h"
|
||||
#include "backends/networking/curl/curljsonrequest.h"
|
||||
|
||||
namespace Networking {
|
||||
class SessionRequest;
|
||||
}
|
||||
|
||||
namespace DLC {
|
||||
namespace ScummVMCloud {
|
||||
|
||||
|
@ -26,9 +26,11 @@
|
||||
#include "gui/widget.h"
|
||||
#include "gui/widgets/list.h"
|
||||
#include "gui/gui-manager.h"
|
||||
#include "gui/launcher.h"
|
||||
#include "gui/downloaddlcsdialog.h"
|
||||
|
||||
#include "backends/dlc/dlcmanager.h"
|
||||
#include "backends/dlc/dlcdesc.h"
|
||||
|
||||
namespace GUI {
|
||||
|
||||
|
@ -23,8 +23,6 @@
|
||||
#define GUI_DLCSDIALOG_H
|
||||
|
||||
#include "gui/dialog.h"
|
||||
#include "gui/widgets/list.h"
|
||||
#include "gui/launcher.h"
|
||||
|
||||
namespace GUI {
|
||||
|
||||
@ -34,6 +32,10 @@ enum {
|
||||
kAllDownloadsCmd = 'ALLD'
|
||||
};
|
||||
|
||||
class CommandSender;
|
||||
class ListWidget;
|
||||
class ButtonWidget;
|
||||
|
||||
class DLCsDialog : public Dialog {
|
||||
public:
|
||||
DLCsDialog();
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "gui/downloaddlcsdialog.h"
|
||||
#include "gui/widget.h"
|
||||
#include "gui/gui-manager.h"
|
||||
#include "gui/widgets/list.h"
|
||||
|
||||
#include "backends/dlc/dlcmanager.h"
|
||||
#include "backends/dlc/dlcdesc.h"
|
||||
|
@ -23,10 +23,15 @@
|
||||
#define GUI_DOWNLOADDLCSDIALOG_H
|
||||
|
||||
#include "gui/dialog.h"
|
||||
#include "gui/widgets/list.h"
|
||||
|
||||
namespace GUI {
|
||||
|
||||
class CommandSender;
|
||||
class StaticTextWidget;
|
||||
class SliderWidget;
|
||||
class ListWidget;
|
||||
class ButtonWidget;
|
||||
|
||||
class DownloadDLCsDialog : public Dialog {
|
||||
public:
|
||||
DownloadDLCsDialog();
|
||||
|
Loading…
x
Reference in New Issue
Block a user