Move KDM CLI tool into lib/
[dcpomatic.git] / src / lib / nanomsg.h
index 64ce4ea06649bb2786f064aab0e8f9874b828a11..8d89d6d99fee05b641ed5213d83d9145f42d4b32 100644 (file)
@@ -28,6 +28,7 @@ class Nanomsg
 {
 public:
        explicit Nanomsg (bool server);
+       ~Nanomsg ();
 
        Nanomsg (Nanomsg const&) = delete;
        Nanomsg& operator= (Nanomsg const&) = delete;
@@ -49,6 +50,7 @@ private:
        void recv_and_parse (int flags);
 
        int _socket;
+       int _endpoint;
        std::list<std::string> _pending;
        std::string _current;
 };