diff OrthancServer/ServerContext.cpp @ 1198:1169528a9a5f db-changes

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Oct 2014 13:52:01 +0200
parents 6b9b02a16e99
children f1c01451a8ee
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Thu Oct 23 13:19:18 2014 +0200
+++ b/OrthancServer/ServerContext.cpp	Thu Oct 23 13:52:01 2014 +0200
@@ -522,15 +522,13 @@
   }
 
 
-  void ServerContext::SignalChange(ChangeType changeType,
-                                   ResourceType resourceType,
-                                   const std::string&  publicId)
+  void ServerContext::SignalChange(const ServerIndexChange& change)
   {
     if (plugins_ != NULL)
     {
       try
       {
-        plugins_->SignalChange(changeType, resourceType, publicId);
+        plugins_->SignalChange(change);
       }
       catch (OrthancException& e)
       {
@@ -538,5 +536,4 @@
       }
     }
   }
-
 }