aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/JpegDecompressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/JpegDecompressor.h')
-rw-r--r--common/rfb/JpegDecompressor.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/common/rfb/JpegDecompressor.h b/common/rfb/JpegDecompressor.h
index 5d4f0c21..8e651b1c 100644
--- a/common/rfb/JpegDecompressor.h
+++ b/common/rfb/JpegDecompressor.h
@@ -26,16 +26,19 @@
#ifndef __RFB_JPEGDECOMPRESSOR_H__
#define __RFB_JPEGDECOMPRESSOR_H__
-#include <rfb/PixelFormat.h>
-#include <rfb/Rect.h>
+#include <stdint.h>
struct jpeg_decompress_struct;
struct JPEG_ERROR_MGR;
struct JPEG_SRC_MGR;
+namespace core { struct Rect; }
+
namespace rfb {
+ class PixelFormat;
+
class JpegDecompressor {
public:
@@ -43,8 +46,8 @@ namespace rfb {
JpegDecompressor(void);
virtual ~JpegDecompressor();
- void decompress(const uint8_t *, int, uint8_t *, int, const Rect&,
- const PixelFormat&);
+ void decompress(const uint8_t*, int, uint8_t*, int,
+ const core::Rect&, const PixelFormat&);
private: