diff Framework/Volumes/ISliceableVolume.h @ 53:c2dc924f1a63 wasm

removing threading out of the framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Apr 2017 16:57:49 +0200
parents 28956ed68280
children 81f73efd81a1
line wrap: on
line diff
--- a/Framework/Volumes/ISliceableVolume.h	Thu Apr 27 14:50:40 2017 +0200
+++ b/Framework/Volumes/ISliceableVolume.h	Thu Apr 27 16:57:49 2017 +0200
@@ -21,14 +21,13 @@
 
 #pragma once
 
-#include "../Toolbox/IThreadSafety.h"
+#include <boost/noncopyable.hpp>
 
 namespace OrthancStone
 {
-  class ISliceableVolume : public IThreadSafe
+  class ISliceableVolume : public boost::noncopyable
   {
   public:
-    // Must be thread-safe
     class IChangeObserver : public boost::noncopyable
     {
     public:
@@ -39,6 +38,10 @@
       virtual void NotifyChange(const ISliceableVolume& volume) = 0;
     };
 
+    virtual ~ISliceableVolume()
+    {
+    }
+
     virtual void Register(IChangeObserver& observer) = 0;
 
     virtual void Unregister(IChangeObserver& observer) = 0;