FileIO.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef FILEIO_H
  2. #define FILEIO_H
  3. //##########################################################################
  4. //# #
  5. //# CLOUDCOMPARE #
  6. //# #
  7. //# This program is free software; you can redistribute it and/or modify #
  8. //# it under the terms of the GNU General Public License as published by #
  9. //# the Free Software Foundation; version 2 or later of the License. #
  10. //# #
  11. //# This program is distributed in the hope that it will be useful, #
  12. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  13. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  14. //# GNU General Public License for more details. #
  15. //# #
  16. //# COPYRIGHT: CloudCompare project #
  17. //# #
  18. //##########################################################################
  19. #include <QString>
  20. #include "qCC_io.h"
  21. class FileIO
  22. {
  23. public:
  24. FileIO() = delete;
  25. QCC_IO_LIB_API static void setWriterInfo( const QString &applicationName, const QString &version );
  26. QCC_IO_LIB_API static QString writerInfo();
  27. QCC_IO_LIB_API static QString applicationName();
  28. QCC_IO_LIB_API static QString version();
  29. QCC_IO_LIB_API static QString createdBy();
  30. QCC_IO_LIB_API static QString createdDateTime();
  31. private:
  32. static QString s_applicationName;
  33. static QString s_version;
  34. static QString s_writerInfo;
  35. };
  36. #endif