ctkXnatScanFolder.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*=============================================================================
  2. Library: XNAT/Core
  3. Copyright (c) University College London,
  4. Centre for Medical Image Computing
  5. Licensed under the Apache License, Version 2.0 (the "License");
  6. you may not use this file except in compliance with the License.
  7. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. =============================================================================*/
  15. #ifndef ctkXnatScanFolder_h
  16. #define ctkXnatScanFolder_h
  17. #include "ctkXNATCoreExport.h"
  18. #include "ctkXnatObject.h"
  19. class ctkXnatConnection;
  20. class ctkXnatExperiment;
  21. class ctkXnatScanFolderPrivate;
  22. /**
  23. * @ingroup XNAT_Core
  24. */
  25. class CTK_XNAT_CORE_EXPORT ctkXnatScanFolder : public ctkXnatObject
  26. {
  27. public:
  28. ctkXnatScanFolder(ctkXnatObject* parent = NULL);
  29. virtual ~ctkXnatScanFolder();
  30. virtual QString resourceUri() const;
  31. void reset();
  32. private:
  33. friend class qRestResult;
  34. virtual void fetchImpl();
  35. virtual void downloadImpl(const QString&);
  36. Q_DECLARE_PRIVATE(ctkXnatScanFolder)
  37. };
  38. #endif