diff OrthancServer/DatabaseWrapper.h @ 231:8098448bd827

export log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Nov 2012 12:18:44 +0100
parents 4453a010d0db
children 5368bbe813cf
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h	Fri Nov 30 11:01:29 2012 +0100
+++ b/OrthancServer/DatabaseWrapper.h	Fri Nov 30 12:18:44 2012 +0100
@@ -163,10 +163,20 @@
                     int64_t since,
                     unsigned int maxResults);
 
-    void LogExportedInstance(const std::string& remoteModality,
-                             DicomInstanceHasher& hasher,
-                             const boost::posix_time::ptime& date = boost::posix_time::second_clock::local_time());
+    void LogExportedResource(ResourceType resourceType,
+                             const std::string& publicId,
+                             const std::string& remoteModality,
+                             const std::string& patientId,
+                             const std::string& studyInstanceUid,
+                             const std::string& seriesInstanceUid,
+                             const std::string& sopInstanceUid,
+                             const boost::posix_time::ptime& date = 
+                             boost::posix_time::second_clock::local_time());
     
+    void GetExportedResources(Json::Value& target,
+                              int64_t since,
+                              unsigned int maxResults);
+
     int64_t GetTableRecordCount(const std::string& table);
     
     uint64_t GetTotalCompressedSize();