comparison RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 1915:0d1235ca4abc

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 20 Mar 2022 18:07:11 +0100
parents 6a65b7cb77ab
children 224d7763eede
comparison
equal deleted inserted replaced
1914:ebe4fd1ad311 1915:0d1235ca4abc
1355 1355
1356 static void Register(const std::string& uri, 1356 static void Register(const std::string& uri,
1357 IWebDavCollection& collection); 1357 IWebDavCollection& collection);
1358 }; 1358 };
1359 #endif 1359 #endif
1360
1361
1362 #if HAS_ORTHANC_PLUGIN_WEBDAV == 1
1363 class ReadOnlyWebDavCollection : public IWebDavCollection
1364 {
1365 public:
1366 virtual bool StoreFile(const std::vector<std::string>& path,
1367 const void* data,
1368 size_t size)
1369 {
1370 return false;
1371 }
1372
1373 virtual bool CreateFolder(const std::vector<std::string>& path)
1374 {
1375 return false;
1376 }
1377
1378 virtual bool DeleteItem(const std::vector<std::string>& path)
1379 {
1380 return false;
1381 }
1382 };
1383 #endif
1384 } 1360 }