diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-27 23:45:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-29 23:31:41 +0100 |
| commit | aacab372816de02da3cf64996e0a20466d1f1d92 (patch) | |
| tree | 64194d1c5aa9300cb8a418ae6799e9be3756c066 | |
| parent | 6eea47ea2668817d3fc7d941c010761ec29bc35f (diff) | |
Cleanup: whitespace and some privacy.
| -rw-r--r-- | src/lib/grok/context.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/lib/grok/context.h b/src/lib/grok/context.h index 9921de27f..aae1849ca 100644 --- a/src/lib/grok/context.h +++ b/src/lib/grok/context.h @@ -61,20 +61,32 @@ struct GrokLogger : public MessengerLogger { } }; -struct FrameProxy { - FrameProxy(int index, Eyes eyes, DCPVideo dcpv) : index_(index), eyes_(eyes), vf(dcpv) + +class FrameProxy +{ +public: + FrameProxy(int index, Eyes eyes, DCPVideo video) + : vf(video) + , _index(index) + , _eyes(eyes) {} + int index() const { - return index_; + return _index; } - Eyes eyes(void) const { - return eyes_; + + Eyes eyes() const { + return _eyes; } - int index_; - Eyes eyes_; + DCPVideo vf; + +private: + int _index; + Eyes _eyes; }; + struct DcpomaticContext { DcpomaticContext( |
