]> git.decadent.org.uk Git - videolink.git/blobdiff - framebuffer.hpp
Brought documentation up-to-date.
[videolink.git] / framebuffer.hpp
index daf76596325c731dadb141c361ded43d8ce2e83d..3e4987564382d22f1b1a30e8ab117eb580296624 100644 (file)
@@ -4,10 +4,12 @@
 #ifndef INC_FRAMEBUFFER_HPP
 #define INC_FRAMEBUFFER_HPP
 
+#include <memory>
 #include <string>
 
+#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<temp_file> auth_file_;
     auto_kill_proc server_proc_;
 };