diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-14 21:05:12 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-14 21:05:12 +0100 |
| commit | 5df63c0bc7e3d6f1850d04f5bafbae2dd6fa619e (patch) | |
| tree | 7b98d59baec4aac62cab374e95795a2ce6b88d03 /src/protocols/iprotocol.h | |
| parent | 36ef6a75e3418d88227e84ab175c0057e860c151 (diff) | |
organize things a bit, populate ICamera
Diffstat (limited to 'src/protocols/iprotocol.h')
| -rw-r--r-- | src/protocols/iprotocol.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/protocols/iprotocol.h b/src/protocols/iprotocol.h new file mode 100644 index 0000000..3827550 --- /dev/null +++ b/src/protocols/iprotocol.h @@ -0,0 +1,19 @@ +#pragma once + +class ICamera; + +class IProtocol +{ +public: + virtual ~IProtocol() = default; +}; + +class ProtocolBase : public IProtocol +{ +public: + explicit ProtocolBase(ICamera *camera); + ~ProtocolBase() override = default; + +protected: + ICamera *m_camera{nullptr}; +}; |
