ccViewerApplication.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef CCVIEWERAPPLICATION_H
  2. #define CCVIEWERAPPLICATION_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 ccViewer;
  22. class ccViewerApplication : public ccApplicationBase
  23. {
  24. Q_OBJECT
  25. public:
  26. ccViewerApplication( int &argc, char **argv, bool isCommandLine );
  27. void setViewer( ccViewer *inViewer );
  28. protected:
  29. bool event( QEvent *inEvent ) override;
  30. private:
  31. ccViewer *mViewer;
  32. };
  33. #endif