replace framebuffer.h include with forward declaration

instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
This commit is contained in:
Stefan Seyfried
2017-02-05 13:05:07 +01:00
committed by M. Liebmann
parent aed22b3788
commit e490f84ea8
59 changed files with 59 additions and 63 deletions

View File

@@ -34,7 +34,6 @@
#define __audioplayergui__
#include <driver/framebuffer.h>
#include <driver/audiofile.h>
#include <gui/filebrowser.h>
#include <gui/components/cc.h>
@@ -53,6 +52,7 @@ typedef std::set<long> CPosList;
typedef std::map<unsigned char, CPosList> CTitle2Pos;
typedef std::pair<unsigned char, CPosList> CTitle2PosItem;
class CFrameBuffer;
class CAudiofileExt : public CAudiofile
{
public: