X-Git-Url: https://git.decadent.org.uk/gitweb/?p=videolink.git;a=blobdiff_plain;f=framebuffer.hpp;h=3e4987564382d22f1b1a30e8ab117eb580296624;hp=daf76596325c731dadb141c361ded43d8ce2e83d;hb=1b6026c7baa122b99011f760857b80b7f253dfbb;hpb=410c2b9017bc26a7e79269c1f7fc606ad89249bb diff --git a/framebuffer.hpp b/framebuffer.hpp index daf7659..3e49875 100644 --- a/framebuffer.hpp +++ b/framebuffer.hpp @@ -4,10 +4,12 @@ #ifndef INC_FRAMEBUFFER_HPP #define INC_FRAMEBUFFER_HPP +#include #include +#include "auto_fd.hpp" #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 @@ -18,8 +20,9 @@ public: std::string get_x_display() const; private: + auto_fd tcp4_socket_, tcp6_socket_; int display_num_; - auto_temp_file auth_file_; + std::auto_ptr auth_file_; auto_kill_proc server_proc_; };