comparison OrthancServer/Sources/ServerIndex.h @ 5606:6e2dad336446 find-refactoring

added "IsStable" field in expanded resources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 May 2024 10:46:11 +0200
parents b2a97dfd719f
children 3f13db27b399
comparison
equal deleted inserted replaced
5605:3f24eb4013d8 5606:6e2dad336446
57 57
58 void MarkAsUnstable(ResourceType type, 58 void MarkAsUnstable(ResourceType type,
59 int64_t id, 59 int64_t id,
60 const std::string& publicId); 60 const std::string& publicId);
61 61
62 bool IsUnstableResource(ResourceType type,
63 int64_t id);
64
65 public: 62 public:
66 ServerIndex(ServerContext& context, 63 ServerIndex(ServerContext& context,
67 IDatabaseWrapper& database, 64 IDatabaseWrapper& database,
68 unsigned int threadSleepGranularityMilliseconds); 65 unsigned int threadSleepGranularityMilliseconds);
69 66
96 const FileInfo& attachment, 93 const FileInfo& attachment,
97 const std::string& publicId, 94 const std::string& publicId,
98 bool hasOldRevision, 95 bool hasOldRevision,
99 int64_t oldRevision, 96 int64_t oldRevision,
100 const std::string& oldMD5); 97 const std::string& oldMD5);
98
99 bool IsUnstableResource(ResourceType type,
100 int64_t id);
101 }; 101 };
102 } 102 }