diff OrthancServer/DatabaseWrapper.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/DatabaseWrapper.h	Thu Feb 05 14:58:42 2015 +0100
+++ b/OrthancServer/DatabaseWrapper.h	Fri Feb 06 13:48:05 2015 +0100
@@ -86,9 +86,9 @@
     virtual int64_t CreateResource(const std::string& publicId,
                                    ResourceType type);
 
-    virtual bool LookupResource(const std::string& publicId,
-                                int64_t& id,
-                                ResourceType& type);
+    virtual bool LookupResource(int64_t& id,
+                                ResourceType& type,
+                                const std::string& publicId);
 
     virtual bool LookupParent(int64_t& parentId,
                               int64_t resourceId);