]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/slice.h
Remove deprecated things
[libs/core.git] / source / io / slice.h
index f6115851c4c4c0637dcc262191c15e51cdcec81c..d5f0f748102748696ab2bdaf05abf0985a7a70a7 100644 (file)
@@ -16,7 +16,7 @@ its range.  If the offset of the underlying object is changed, the Slice will
 restore it before the next access.  This enables multiple Slices to be created
 on top of the same object.
 */
-class Slice: public Seekable
+class Slice: public Seekable, public sigc::trackable
 {
 private:
        Seekable &below;
@@ -28,6 +28,9 @@ private:
 public:
        Slice(Seekable &, SeekOffset, SeekOffset);
 
+       virtual void set_block(bool);
+       virtual void set_inherit(bool);
+
 private:
        void flush();
 
@@ -40,6 +43,8 @@ public:
        virtual unsigned put(char);
        virtual int get();
 
+       virtual const Handle &get_handle(Mode);
+
        virtual SeekOffset seek(SeekOffset, SeekType);
        virtual SeekOffset tell() const { return position; }
 };