changeset 1302:5fe254fb1c93

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Feb 2015 16:33:57 +0100
parents 5d56cfa49f68
children bba8a47922d1
files OrthancServer/DatabaseWrapper.cpp OrthancServer/DatabaseWrapper.h OrthancServer/IDatabaseWrapper.h
diffstat 3 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.cpp	Mon Feb 09 15:31:29 2015 +0100
+++ b/OrthancServer/DatabaseWrapper.cpp	Tue Feb 10 16:33:57 2015 +0100
@@ -585,7 +585,7 @@
   void DatabaseWrapper::GetChangesInternal(std::list<ServerIndexChange>& target,
                                            bool& done,
                                            SQLite::Statement& s,
-                                           unsigned int maxResults)
+                                           uint32_t maxResults)
   {
     target.clear();
 
@@ -609,7 +609,7 @@
   void DatabaseWrapper::GetChanges(std::list<ServerIndexChange>& target,
                                    bool& done,
                                    int64_t since,
-                                   unsigned int maxResults)
+                                   uint32_t maxResults)
   {
     SQLite::Statement s(db_, SQLITE_FROM_HERE, "SELECT * FROM Changes WHERE seq>? ORDER BY seq LIMIT ?");
     s.BindInt64(0, since);
@@ -645,7 +645,7 @@
   void DatabaseWrapper::GetExportedResourcesInternal(std::list<ExportedResource>& target,
                                                      bool& done,
                                                      SQLite::Statement& s,
-                                                     unsigned int maxResults)
+                                                     uint32_t maxResults)
   {
     target.clear();
 
@@ -675,7 +675,7 @@
   void DatabaseWrapper::GetExportedResources(std::list<ExportedResource>& target,
                                              bool& done,
                                              int64_t since,
-                                             unsigned int maxResults)
+                                             uint32_t maxResults)
   {
     SQLite::Statement s(db_, SQLITE_FROM_HERE, 
                         "SELECT * FROM ExportedResources WHERE seq>? ORDER BY seq LIMIT ?");
--- a/OrthancServer/DatabaseWrapper.h	Mon Feb 09 15:31:29 2015 +0100
+++ b/OrthancServer/DatabaseWrapper.h	Tue Feb 10 16:33:57 2015 +0100
@@ -61,12 +61,12 @@
     void GetChangesInternal(std::list<ServerIndexChange>& target,
                             bool& done,
                             SQLite::Statement& s,
-                            unsigned int maxResults);
+                            uint32_t maxResults);
 
     void GetExportedResourcesInternal(std::list<ExportedResource>& target,
                                       bool& done,
                                       SQLite::Statement& s,
-                                      unsigned int maxResults);
+                                      uint32_t maxResults);
 
     void ClearTable(const std::string& tableName);
 
@@ -148,7 +148,7 @@
     virtual void GetChanges(std::list<ServerIndexChange>& target /*out*/,
                             bool& done /*out*/,
                             int64_t since,
-                            unsigned int maxResults);
+                            uint32_t maxResults);
 
     virtual void GetLastChange(std::list<ServerIndexChange>& target /*out*/);
 
@@ -157,7 +157,7 @@
     virtual void GetExportedResources(std::list<ExportedResource>& target /*out*/,
                                       bool& done /*out*/,
                                       int64_t since,
-                                      unsigned int maxResults);
+                                      uint32_t maxResults);
 
     virtual void GetLastExportedResource(std::list<ExportedResource>& target /*out*/);
 
--- a/OrthancServer/IDatabaseWrapper.h	Mon Feb 09 15:31:29 2015 +0100
+++ b/OrthancServer/IDatabaseWrapper.h	Tue Feb 10 16:33:57 2015 +0100
@@ -83,7 +83,7 @@
     virtual void GetChanges(std::list<ServerIndexChange>& target /*out*/,
                             bool& done /*out*/,
                             int64_t since,
-                            unsigned int maxResults) = 0;
+                            uint32_t maxResults) = 0;
 
     virtual void GetChildrenInternalId(std::list<int64_t>& target,
                                        int64_t id) = 0;
@@ -94,7 +94,7 @@
     virtual void GetExportedResources(std::list<ExportedResource>& target /*out*/,
                                       bool& done /*out*/,
                                       int64_t since,
-                                      unsigned int maxResults) = 0;
+                                      uint32_t maxResults) = 0;
 
     virtual void GetLastChange(std::list<ServerIndexChange>& target /*out*/) = 0;