Signed-off-by: Lukáš Hrázký <lhrazky@xxxxxxxxxx> --- include/spice-streaming-agent/frame-capture.hpp | 14 +++++++------- include/spice-streaming-agent/plugin.hpp | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/spice-streaming-agent/frame-capture.hpp b/include/spice-streaming-agent/frame-capture.hpp index f226e99..6c41e04 100644 --- a/include/spice-streaming-agent/frame-capture.hpp +++ b/include/spice-streaming-agent/frame-capture.hpp @@ -34,27 +34,27 @@ struct FrameInfo class FrameCapture { public: - virtual ~FrameCapture()=default; + virtual ~FrameCapture() = default; /*! Grab a frame * This function will wait for next frame. * Capture is started if needed. */ - virtual FrameInfo CaptureFrame()=0; + virtual FrameInfo CaptureFrame() = 0; /*! Reset capturing * This will reset to beginning state */ - virtual void Reset()=0; + virtual void Reset() = 0; /*! * Get video codec used to encode last frame */ - virtual SpiceVideoCodecType VideoCodecType() const=0; + virtual SpiceVideoCodecType VideoCodecType() const = 0; protected: - FrameCapture()=default; - FrameCapture(const FrameCapture&)=delete; - void operator=(const FrameCapture&)=delete; + FrameCapture() = default; + FrameCapture(const FrameCapture&) = delete; + void operator=(const FrameCapture&) = delete; }; } diff --git a/include/spice-streaming-agent/plugin.hpp b/include/spice-streaming-agent/plugin.hpp index 727cb3b..f1d5d60 100644 --- a/include/spice-streaming-agent/plugin.hpp +++ b/include/spice-streaming-agent/plugin.hpp @@ -74,7 +74,7 @@ public: * to initialize. * Plugin can also raise std::runtime_error which will be logged. */ - virtual FrameCapture *CreateCapture()=0; + virtual FrameCapture *CreateCapture() = 0; /*! * Request to rank the plugin. @@ -83,12 +83,12 @@ public: * is necessary as the condition for capturing frames can change * from the time the plugin decided to register and now. */ - virtual unsigned Rank()=0; + virtual unsigned Rank() = 0; /*! * Get video codec used to encode last frame */ - virtual SpiceVideoCodecType VideoCodecType() const=0; + virtual SpiceVideoCodecType VideoCodecType() const = 0; }; /*! @@ -107,18 +107,18 @@ public: * everything. * \return version specified like PluginVersion */ - virtual unsigned Version() const=0; + virtual unsigned Version() const = 0; /*! * Check if a given plugin version is compatible with this agent * \return true is compatible */ - virtual bool PluginVersionIsCompatible(unsigned pluginVersion) const=0; + virtual bool PluginVersionIsCompatible(unsigned pluginVersion) const = 0; /*! * Register a plugin in the system. */ - virtual void Register(Plugin& plugin)=0; + virtual void Register(Plugin& plugin) = 0; /*! * Get options array. @@ -126,7 +126,7 @@ public: * Never nullptr. * \todo passing options to entry point instead? */ - virtual const ConfigureOption* Options() const=0; + virtual const ConfigureOption* Options() const = 0; }; typedef bool PluginInitFunc(SpiceStreamingAgent::Agent* agent); -- 2.15.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel