ScreenDump: add screenId parameter to doScreenShot function in the IRenderer.h
authorEugen Friedrich <efriedrich@de.adit-jv.com>
Wed, 3 Jul 2013 12:20:20 +0000 (14:20 +0200)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Fri, 5 Jul 2013 10:56:48 +0000 (12:56 +0200)
If the rendering plug-in supports several screens the screenId
should be provided to the graphical system so the requested
screen could be dumped.
To achieve this we have to change the IRenderer interface class
and all of the derived class.

Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
LayerManagerBase/include/IRenderer.h

index bcdbda5..9552afd 100644 (file)
@@ -73,7 +73,7 @@ public:
      * \ingroup    RendererAPI
      * \param[in]  fileToSave path to bitmap file to store the graphical content
      */
-    virtual void doScreenShot(std::string fileToSave) = 0;
+    virtual void doScreenShot(std::string fileToSave, const unsigned int screen_id) = 0;
 
     /**
      * \brief      Store graphical content of layer to bitmap