diff OrthancServer/IDatabaseWrapper.h @ 1294:910478b2d4e4

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Feb 2015 13:48:05 +0100
parents 6e7e5ed91c2d
children 5d56cfa49f68
line wrap: on
line diff
--- a/OrthancServer/IDatabaseWrapper.h	Thu Feb 05 14:58:42 2015 +0100
+++ b/OrthancServer/IDatabaseWrapper.h	Fri Feb 06 13:48:05 2015 +0100
@@ -149,9 +149,9 @@
     virtual bool LookupParent(int64_t& parentId,
                               int64_t resourceId) = 0;
 
-    virtual bool LookupResource(const std::string& publicId,
-                                int64_t& id,
-                                ResourceType& type) = 0;
+    virtual bool LookupResource(int64_t& id,
+                                ResourceType& type,
+                                const std::string& publicId) = 0;
 
     virtual bool SelectPatientToRecycle(int64_t& internalId) = 0;