Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 4946:51e4947aa3b3
removed ReadOnlyWebDavCollection from C++ plugin wrapper
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 20 Mar 2022 18:03:32 +0100 |
parents | 47d734fa30f6 |
children | 501411a67f10 |
comparison
equal
deleted
inserted
replaced
4945:6a59dc426f93 | 4946:51e4947aa3b3 |
---|---|
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 } |