neutrino.h: use forward declaration instead of includes

this reduces the dependency chain on partial rebuilds considerably
This commit is contained in:
Stefan Seyfried
2015-02-11 08:22:36 +01:00
committed by Jacek Jendrzej
parent 967f85eb5f
commit b3bfb361f5
4 changed files with 8 additions and 8 deletions

View File

@@ -61,6 +61,7 @@
#endif
#include "pluginlist.h"
#include "infoclock.h"
#include "rc_lock.h"
#include <global.h>
#include <neutrino.h>

View File

@@ -100,6 +100,7 @@
#include "gui/pipsetup.h"
#endif
#include "gui/themes.h"
#include "gui/timerlist.h"
#include <system/ytcache.h>

View File

@@ -33,19 +33,12 @@
#ifndef __neutrino__
#define __neutrino__
#include <configfile.h>
#include <neutrinoMessages.h>
#include "driver/framebuffer.h"
#include "driver/neutrinofonts.h"
#include "system/setting_helpers.h"
#include "system/configure_network.h"
#include "daemonc/remotecontrol.h" /* st_rmsg */
#include "gui/channellist.h" /* CChannelList */
#include "gui/personalize.h"
#include "gui/rc_lock.h"
#include "gui/user_menue.h"
#include "gui/timerlist.h"
#include <timerdclient/timerdtypes.h>
#include <string>
@@ -60,6 +53,10 @@
extern const unsigned char genre_sub_classes[]; /* epgview.cpp */
extern const neutrino_locale_t * genre_sub_classes_list[]; /* epgview.cpp */
class CFrameBuffer;
class CConfigFile;
class CScanSettings;
class CNeutrinoApp : public CMenuTarget, CChangeObserver
{
public:

View File

@@ -69,6 +69,7 @@
#include "gui/scan_setup.h"
#include "gui/settings_manager.h"
#include "gui/sleeptimer.h"
#include "gui/timerlist.h"
#include "gui/update_menue.h"
#include "gui/streaminfo2.h"
#ifdef ENABLE_TESTING