diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:39 +0000 |
| commit | 02279f7c2a7ab8ec8cc416da528bc53dcc8f2c9f (patch) | |
| tree | 7277142b338612a9168950c44df74a10c0fe4222 /src/types.h | |
| parent | c2018e0dae9ed2503b6244a47524a7ce16eedb0b (diff) | |
Use a typedef for a note-taking functor.
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index f685806f..08613c79 100644 --- a/src/types.h +++ b/src/types.h @@ -25,6 +25,7 @@ #define LIBDCP_TYPES_H #include <boost/shared_ptr.hpp> +#include <boost/function.hpp> #include <string> namespace dcp @@ -187,6 +188,9 @@ extern std::ostream & operator<< (std::ostream & s, Colour const & c); typedef std::pair<std::string, boost::shared_ptr<const parse::AssetMap> > PathAssetMap; +typedef boost::function<void (NoteType, std::string)> NoteHandler; + + } #endif |
