summaryrefslogtreecommitdiff
path: root/src/lib/log.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-16 00:44:31 +0100
committerCarl Hetherington <cth@carlh.net>2020-04-06 15:57:14 +0200
commita1f7bf2d9e5610075fbd898cdf52f4f8373741f2 (patch)
tree5539cea37bebe3347408b9404ac3d9aa5cd5fe1b /src/lib/log.h
parentadddda49c17e87198253d9c900dcef0f5fb2e175 (diff)
Add disk writer tool.
Diffstat (limited to 'src/lib/log.h')
-rw-r--r--src/lib/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/log.h b/src/lib/log.h
index b102a2d65..416f4259d 100644
--- a/src/lib/log.h
+++ b/src/lib/log.h
@@ -46,6 +46,9 @@ public:
void dcp_log (dcp::NoteType type, std::string message);
void set_types (int types);
+ int types () const {
+ return _types;
+ }
/** @param amount Approximate number of bytes to return; the returned value
* may be shorter or longer than this.