ctkAbstractObjectFactoryTest1.cpp 1020 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*=========================================================================
  2. Library: CTK
  3. Copyright (c) Kitware Inc.
  4. All rights reserved.
  5. Distributed under a BSD License. See LICENSE.txt file.
  6. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the above copyright notice for more information.
  9. =========================================================================*/
  10. // Qt includes
  11. #include <QApplication>
  12. // CTK includes
  13. #include "ctkAbstractObjectFactory.h"
  14. // STD includes
  15. #include <cstdlib>
  16. #include <iostream>
  17. //-----------------------------------------------------------------------------
  18. class BaseClassHelper
  19. {
  20. public:
  21. };
  22. //-----------------------------------------------------------------------------
  23. int ctkAbstractObjectFactoryTest1(int argc, char * argv [] )
  24. {
  25. QApplication app(argc, argv);
  26. ctkAbstractObjectFactory< BaseClassHelper > ctkObject;
  27. return EXIT_SUCCESS;
  28. }