Add mandatory version() member function to plugin
This commit is contained in:
@ -13,6 +13,7 @@ class ScreensaverPlugin {
|
|||||||
virtual void configure();
|
virtual void configure();
|
||||||
virtual int fps() const;
|
virtual int fps() const;
|
||||||
|
|
||||||
|
virtual std::string version() const = 0;
|
||||||
virtual void update() = 0; // advance state for next frame
|
virtual void update() = 0; // advance state for next frame
|
||||||
virtual void render() = 0; // draw next frame
|
virtual void render() = 0; // draw next frame
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user