Deleted Added
sdiff udiff text old ( 10839:10cac0f0f419 ) new ( 11359:b0b976a1ceda )
full compact
1/*
2 * Copyright (c) 2010, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 38 unchanged lines hidden (view full) ---

47
48#include <iostream>
49#include <memory>
50
51#include "base/bitmap.hh"
52#include "params/VncInput.hh"
53#include "sim/sim_object.hh"
54
55/**
56 * A device that expects to receive input from the vnc server should derrive
57 * (through mulitple inheritence if necessary from VncKeyboard or VncMouse
58 * and call setKeyboard() or setMouse() respectively on the vnc server.
59 */
60class VncKeyboard
61{
62 public:

--- 151 unchanged lines hidden (view full) ---

214
215 /** Flag indicating whether to capture snapshots of frame buffer or not */
216 bool captureEnabled;
217
218 /** Current frame number being captured to a file */
219 int captureCurrentFrame;
220
221 /** Directory to store captured frames to */
222 std::string captureOutputDirectory;
223
224 /** Computed hash of the last captured frame */
225 uint64_t captureLastHash;
226
227 /** Cached bitmap object for writing out frame buffers to file */
228 std::unique_ptr<Bitmap> captureBitmap;
229
230 /** Captures the current frame buffer to a file */
231 void captureFrameBuffer();
232};
233#endif