]> git.sesse.net Git - nageru/blobdiff - ref_counted_frame.h
Write 1.4.0 changelog.
[nageru] / ref_counted_frame.h
index 67787ef3cbb7289b2929cfe33f83fa7ac7f71765..881d0d5015c8f5f0738982ba9096eb797edc6b99 100644 (file)
 
 #include "bmusb/bmusb.h"
 
-void release_refcounted_frame(FrameAllocator::Frame *frame);
+void release_refcounted_frame(bmusb::FrameAllocator::Frame *frame);
 
-typedef std::shared_ptr<FrameAllocator::Frame> RefCountedFrameBase;
+typedef std::shared_ptr<bmusb::FrameAllocator::Frame> RefCountedFrameBase;
 
 class RefCountedFrame : public RefCountedFrameBase {
 public:
        RefCountedFrame() {}
 
-       RefCountedFrame(const FrameAllocator::Frame &frame)
-               : RefCountedFrameBase(new FrameAllocator::Frame(frame), release_refcounted_frame) {}
+       RefCountedFrame(const bmusb::FrameAllocator::Frame &frame)
+               : RefCountedFrameBase(new bmusb::FrameAllocator::Frame(frame), release_refcounted_frame) {}
 };
 
 #endif  // !defined(_REF_COUNTED_FRAME_H)