X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fevent_history.h;h=a98447f4246f58aa37d11514a59406e59a3af326;hb=0e896f9f37db001f34c876ed5fc50e874f96ae09;hp=e194f633335f0c3e0850a4db3c101d54aadabfef;hpb=a69d242f3f00207d6ea7320e6723775f4b0dbfb3;p=dcpomatic.git diff --git a/src/lib/event_history.h b/src/lib/event_history.h index e194f6333..a98447f42 100644 --- a/src/lib/event_history.h +++ b/src/lib/event_history.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2017 Carl Hetherington + Copyright (C) 2017-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,18 +18,22 @@ */ + #ifndef DCPOMATIC_EVENT_HISTORY_H #define DCPOMATIC_EVENT_HISTORY_H + #include +#include #include + class EventHistory { public: explicit EventHistory (int size); - float rate () const; + boost::optional rate () const; void event (); private: @@ -43,4 +47,5 @@ private: int const _size; }; + #endif