mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
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:
committed by
M. Liebmann
parent
4134af3d1d
commit
47b1a8b642
@@ -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;
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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)
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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:
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user