Make it possible to query a PixelTransformer for the formats it is converting
between.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4591 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/PixelTransformer.h b/common/rfb/PixelTransformer.h
index b5ba8c0..54b05a5 100644
--- a/common/rfb/PixelTransformer.h
+++ b/common/rfb/PixelTransformer.h
@@ -54,6 +54,12 @@
const PixelFormat& outPF, ColourCube* cube = NULL,
setCMFnType cmCallback = NULL, void *cbData = NULL);
+ const PixelFormat &getInPF() const;
+ const ColourMap *getInColourMap() const;
+
+ const PixelFormat &getOutPF() const;
+ const ColourCube *getOutColourCube() const;
+
// setColourMapEntries() is called when the colour map specified to init()
// has changed. firstColour and nColours specify which part of the
// colour map has changed. If nColours is 0, this means the rest of the