1 // Copyright 2005 Ben Hutchings <ben@decadentplace.org.uk>.
2 // See the file "COPYING" for licence details.
4 #ifndef INC_FRAMEBUFFER_HPP
5 #define INC_FRAMEBUFFER_HPP
9 #include "auto_proc.hpp"
10 #include "auto_temp_file.hpp"
12 // Run Xvfb with a frame buffer of the given dimensions.
16 FrameBuffer(int width, int height, int depth);
17 std::string get_x_authority() const;
18 std::string get_x_display() const;
22 auto_temp_file auth_file_;
23 auto_kill_proc server_proc_;
26 #endif // !INC_FRAMEBUFFER_HPP