Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarIODevice.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarIODevice.hpp')
-rw-r--r--source/core/StarIODevice.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/StarIODevice.hpp b/source/core/StarIODevice.hpp
index b375e81..7bc2a04 100644
--- a/source/core/StarIODevice.hpp
+++ b/source/core/StarIODevice.hpp
@@ -70,6 +70,9 @@ public:
// Default implementation is a no-op
virtual void sync();
+ // Returns a clone of this device with the same mode
+ virtual IODevicePtr clone() = 0;
+
// Default implementation just prints address of generic IODevice
virtual String deviceName() const;