diff options
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index 50ea0891..bcd7024b 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -25,6 +25,7 @@ #include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> #include <boost/filesystem.hpp> +#include <boost/optional.hpp> #include <string> #include <stdint.h> @@ -51,7 +52,7 @@ public: ~MonoPictureFrame (); boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const; - void rgb_frame (uint16_t* buffer) const; + void rgb_frame (uint16_t* buffer, boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()) const; uint8_t const * j2k_data () const; uint8_t* j2k_data (); int j2k_size () const; |
