diff --git a/wrappers/cpp/libfreenect.hpp b/wrappers/cpp/libfreenect.hpp index 0a5f637e..cb1c1d13 100644 --- a/wrappers/cpp/libfreenect.hpp +++ b/wrappers/cpp/libfreenect.hpp @@ -132,6 +132,9 @@ namespace Freenect { freenect_resolution getDepthResolution() { return m_depth_resolution; } + const freenect_device *getDevice() { + return m_dev; + } // Do not call directly even in child virtual void VideoCallback(void *video, uint32_t timestamp) = 0; // Do not call directly even in child