Fix compilation with sqlite (missing include header file).

This commit is contained in:
Stephen Anthony 2019-05-03 20:42:16 -02:30
parent 6da1968845
commit 0fa83b0fd0
2 changed files with 28 additions and 22 deletions

View File

@ -24,16 +24,22 @@
#include "MediaFactory.hxx" #include "MediaFactory.hxx"
#include "Sound.hxx" #include "Sound.hxx"
#ifdef DEBUGGER_SUPPORT
#include "Debugger.hxx"
#endif
#ifdef CHEATCODE_SUPPORT #ifdef CHEATCODE_SUPPORT
#include "CheatManager.hxx" #include "CheatManager.hxx"
#endif #endif
#ifdef DEBUGGER_SUPPORT
#include "Debugger.hxx"
#endif
#ifdef GUI_SUPPORT
#include "Menu.hxx"
#include "CommandMenu.hxx"
#include "Launcher.hxx"
#include "TimeMachine.hxx"
#include "Widget.hxx"
#endif
#ifdef SQLITE_SUPPORT #ifdef SQLITE_SUPPORT
#include "KeyValueRepositorySqlite.hxx" #include "KeyValueRepositorySqlite.hxx"
#include "SettingsDb.hxx"
#endif #endif
#include "FSNode.hxx" #include "FSNode.hxx"
@ -59,14 +65,6 @@
#include "repository/KeyValueRepositoryNoop.hxx" #include "repository/KeyValueRepositoryNoop.hxx"
#include "repository/KeyValueRepositoryConfigfile.hxx" #include "repository/KeyValueRepositoryConfigfile.hxx"
#ifdef GUI_SUPPORT
#include "Menu.hxx"
#include "CommandMenu.hxx"
#include "Launcher.hxx"
#include "TimeMachine.hxx"
#include "Widget.hxx"
#endif
#include "OSystem.hxx" #include "OSystem.hxx"
using namespace std::chrono; using namespace std::chrono;

View File

@ -18,12 +18,7 @@
#ifndef OSYSTEM_HXX #ifndef OSYSTEM_HXX
#define OSYSTEM_HXX #define OSYSTEM_HXX
class CommandMenu;
class Console; class Console;
class Debugger;
class Launcher;
class Menu;
class TimeMachine;
class FrameBuffer; class FrameBuffer;
class EventHandler; class EventHandler;
class Properties; class Properties;
@ -32,15 +27,26 @@ class Random;
class Sound; class Sound;
class StateManager; class StateManager;
class TimerManager; class TimerManager;
class VideoDialog;
class EmulationWorker; class EmulationWorker;
class AudioSettings; class AudioSettings;
class SettingsDb; #ifdef CHEATCODE_SUPPORT
class CheatManager;
#endif
#ifdef DEBUGGER_SUPPORT
class Debugger;
#endif
#ifdef GUI_SUPPORT
class CommandMenu;
class Launcher;
class Menu;
class TimeMachine;
class VideoDialog;
#endif
#ifdef PNG_SUPPORT #ifdef PNG_SUPPORT
class PNGLibrary; class PNGLibrary;
#endif #endif
#ifdef CHEATCODE_SUPPORT #ifdef SQLITE_SUPPORT
class CheatManager; class SettingsDb;
#endif #endif
#include <chrono> #include <chrono>
@ -63,9 +69,11 @@ class SettingsDb;
class OSystem class OSystem
{ {
friend class EventHandler; friend class EventHandler;
#ifdef GUI_SUPPORT
friend class VideoDialog; friend class VideoDialog;
friend class StellaSettingsDialog; friend class StellaSettingsDialog;
friend class DeveloperDialog; friend class DeveloperDialog;
#endif
public: public:
OSystem(); OSystem();