ctkAbstractLibraryFactoryTest1.cpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 "ctkAbstractLibraryFactory.h"
  14. // STD includes
  15. #include <cstdlib>
  16. #include <iostream>
  17. //-----------------------------------------------------------------------------
  18. class BaseClassHelperType
  19. {
  20. public:
  21. };
  22. //-----------------------------------------------------------------------------
  23. class FactoryItemHelper
  24. {
  25. public:
  26. FactoryItemHelper( QString &, QString )
  27. {
  28. }
  29. void setSymbols(const QStringList& )
  30. {
  31. }
  32. };
  33. //-----------------------------------------------------------------------------
  34. int ctkAbstractLibraryFactoryTest1(int argc, char * argv [] )
  35. {
  36. QApplication app(argc, argv);
  37. // typedef ctkAbstractLibraryFactory < BaseClassHelperType, FactoryItemHelper > FactoryType;
  38. // FactoryType ctkObject;
  39. return EXIT_SUCCESS;
  40. }