X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=framebuffer.hpp;h=ee2557b9ff332d5e4b73565abf64967a849ecc93;hp=daf76596325c731dadb141c361ded43d8ce2e83d;hb=fed762f0b70eeb556c4b1bd660beb129099e8068;hpb=410c2b9017bc26a7e79269c1f7fc606ad89249bb diff --git a/framebuffer.hpp b/framebuffer.hpp index daf7659..ee2557b 100644 --- a/framebuffer.hpp +++ b/framebuffer.hpp @@ -4,10 +4,11 @@ #ifndef INC_FRAMEBUFFER_HPP #define INC_FRAMEBUFFER_HPP +#include #include #include "auto_proc.hpp" -#include "auto_temp_file.hpp" +#include "temp_file.hpp" // Run Xvfb with a frame buffer of the given dimensions. class FrameBuffer @@ -19,7 +20,7 @@ public: private: int display_num_; - auto_temp_file auth_file_; + std::auto_ptr auth_file_; auto_kill_proc server_proc_; };