reduce impact of driver/pictureviewer.h header file

before, more than 175 files depended on it, now it's about 35
This commit is contained in:
Stefan Seyfried
2017-02-06 00:52:16 +01:00
committed by M. Liebmann
parent 4134af3d1d
commit 47b1a8b642
7 changed files with 5 additions and 4 deletions

View File

@@ -34,6 +34,7 @@
#include <unistd.h> #include <unistd.h>
#include <system/debug.h> #include <system/debug.h>
#include <system/helpers.h> #include <system/helpers.h>
#include <driver/pictureviewer/pictureviewer.h>
extern CPictureViewer * g_PicViewer; extern CPictureViewer * g_PicViewer;

View File

@@ -34,7 +34,6 @@
#include "cc_base.h" #include "cc_base.h"
#include "cc_item.h" #include "cc_item.h"
#include <string> #include <string>
#include <driver/pictureviewer/pictureviewer.h>
#define NO_SCALE false #define NO_SCALE false
#define SCALE true #define SCALE true

View File

@@ -56,7 +56,6 @@
#include <gui/movieinfo.h> #include <gui/movieinfo.h>
#include <driver/file.h> #include <driver/file.h>
#include <driver/fb_window.h> #include <driver/fb_window.h>
#include <driver/pictureviewer/pictureviewer.h>
#include <system/ytparser.h> #include <system/ytparser.h>
#define MAX_NUMBER_OF_BOOKMARK_ITEMS MI_MOVIE_BOOK_USER_MAX // we just use the same size as used in Movie info (MAX_NUMBER_OF_BOOKMARK_ITEMS is used for the number of menu items) #define MAX_NUMBER_OF_BOOKMARK_ITEMS MI_MOVIE_BOOK_USER_MAX // we just use the same size as used in Movie info (MAX_NUMBER_OF_BOOKMARK_ITEMS is used for the number of menu items)

View File

@@ -43,6 +43,7 @@
#include <gui/color_custom.h> #include <gui/color_custom.h>
#include <gui/infoclock.h> #include <gui/infoclock.h>
#include <zapit/zapit.h> #include <zapit/zapit.h>
#include <driver/pictureviewer/pictureviewer.h>
#include <video.h> #include <video.h>
extern cVideo * videoDecoder; extern cVideo * videoDecoder;
@@ -315,4 +316,4 @@ bool CScreenSaver::IsRun()
if(thrScreenSaver) if(thrScreenSaver)
return true; return true;
return false; return false;
} }

View File

@@ -30,6 +30,7 @@
#include <gui/components/cc.h> #include <gui/components/cc.h>
class CFrameBuffer; class CFrameBuffer;
class CPictureViewer;
class CScreenSaver : public sigc::trackable class CScreenSaver : public sigc::trackable
{ {
private: private:

View File

@@ -40,6 +40,7 @@
#include <driver/audiometadata.h> #include <driver/audiometadata.h>
#include <driver/screen_max.h> #include <driver/screen_max.h>
#include <driver/display.h> #include <driver/display.h>
#include <driver/pictureviewer/pictureviewer.h>
#include <gui/audiomute.h> #include <gui/audiomute.h>
#include <gui/color.h> #include <gui/color.h>

View File

@@ -24,7 +24,6 @@
#define __upnpplayergui__ #define __upnpplayergui__
#include <driver/audiofile.h> #include <driver/audiofile.h>
#include <driver/pictureviewer/pictureviewer.h>
#include <gui/filebrowser.h> #include <gui/filebrowser.h>
#include <gui/widget/menue.h> #include <gui/widget/menue.h>
#include <gui/widget/listhelpers.h> #include <gui/widget/listhelpers.h>