ctkAbstractFactoryTest1.cpp 915 B

12345678910111213141516171819202122232425262728293031323334353637
  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 "ctkAbstractFactory.h"
  14. #include "ctkModelTester.h"
  15. // STD includes
  16. #include <cstdlib>
  17. #include <iostream>
  18. //-----------------------------------------------------------------------------
  19. int ctkAbstractFactoryTest1(int argc, char * argv [] )
  20. {
  21. QApplication app(argc, argv);
  22. ctkAbstractFactory< ctkModelTester > qctkObject;
  23. return EXIT_SUCCESS;
  24. }