ccApplication.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef CCAPPLICATION_H
  2. #define CCAPPLICATION_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. //Common
  20. #include <ccApplicationBase.h>
  21. class ccApplication : public ccApplicationBase
  22. {
  23. Q_OBJECT
  24. public:
  25. ccApplication( int &argc, char **argv, bool isCommandLine );
  26. //! Returns the minimum version of CC required to load a given file version
  27. static QString GetMinCCVersionForFileVersion(short fileVersion);
  28. protected:
  29. bool event( QEvent *inEvent ) override;
  30. };
  31. #endif