Don't include some header files when we don't need to.

This commit is contained in:
Stephen Anthony 2020-05-11 16:15:34 -02:30
parent 9b933ec4d4
commit 08c48c5f82
4 changed files with 17 additions and 6 deletions

View File

@ -68,6 +68,11 @@ DebuggerDialog::DebuggerDialog(OSystem& osystem, DialogContainer& parent,
Menu::AppMode::debugger); Menu::AppMode::debugger);
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DebuggerDialog::~DebuggerDialog()
{
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void DebuggerDialog::loadConfig() void DebuggerDialog::loadConfig()
{ {

View File

@ -33,14 +33,16 @@ class TiaOutputWidget;
class TiaZoomWidget; class TiaZoomWidget;
class CartDebugWidget; class CartDebugWidget;
class CartRamWidget; class CartRamWidget;
class OptionsDialog;
namespace GUI {
class MessageBox;
}
namespace Common { namespace Common {
struct Rect; struct Rect;
} }
#include "Dialog.hxx" #include "Dialog.hxx"
#include "MessageBox.hxx"
#include "OptionsDialog.hxx"
class DebuggerDialog : public Dialog class DebuggerDialog : public Dialog
{ {
@ -55,7 +57,7 @@ class DebuggerDialog : public Dialog
DebuggerDialog(OSystem& osystem, DialogContainer& parent, DebuggerDialog(OSystem& osystem, DialogContainer& parent,
int x, int y, int w, int h); int x, int y, int w, int h);
virtual ~DebuggerDialog() = default; virtual ~DebuggerDialog();
const GUI::Font& lfont() const { return *myLFont; } const GUI::Font& lfont() const { return *myLFont; }
const GUI::Font& nfont() const { return *myNFont; } const GUI::Font& nfont() const { return *myNFont; }

View File

@ -82,6 +82,11 @@ TIASurface::TIASurface(OSystem& system)
myPaletteHandler->loadConfig(myOSystem.settings()); myPaletteHandler->loadConfig(myOSystem.settings());
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TIASurface::~TIASurface()
{
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void TIASurface::initialize(const Console& console, void TIASurface::initialize(const Console& console,
const FrameBuffer::VideoMode& mode) const FrameBuffer::VideoMode& mode)

View File

@ -22,13 +22,13 @@ class TIA;
class Console; class Console;
class OSystem; class OSystem;
class FBSurface; class FBSurface;
class PaletteHandler;
#include <thread> #include <thread>
#include "Rect.hxx" #include "Rect.hxx"
#include "FrameBuffer.hxx" #include "FrameBuffer.hxx"
#include "NTSCFilter.hxx" #include "NTSCFilter.hxx"
#include "PaletteHandler.hxx"
#include "PhosphorHandler.hxx" #include "PhosphorHandler.hxx"
#include "bspf.hxx" #include "bspf.hxx"
#include "TIAConstants.hxx" #include "TIAConstants.hxx"
@ -49,8 +49,7 @@ class TIASurface
Creates a new TIASurface object Creates a new TIASurface object
*/ */
explicit TIASurface(OSystem& system); explicit TIASurface(OSystem& system);
virtual ~TIASurface();
virtual ~TIASurface() = default;
/** /**
Set the TIA object, which is needed for actually rendering the TIA image. Set the TIA object, which is needed for actually rendering the TIA image.