cmDependsJava.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmDependsJava_h
  11. #define cmDependsJava_h
  12. #include "cmDepends.h"
  13. /** \class cmDependsJava
  14. * \brief Dependency scanner for Java class files.
  15. */
  16. class cmDependsJava: public cmDepends
  17. {
  18. public:
  19. /** Checking instances need to know the build directory name and the
  20. relative path from the build directory to the target file. */
  21. cmDependsJava();
  22. /** Virtual destructor to cleanup subclasses properly. */
  23. virtual ~cmDependsJava();
  24. protected:
  25. // Implement writing/checking methods required by superclass.
  26. virtual bool WriteDependencies(const char *src, const char *file,
  27. std::ostream& makeDepends, std::ostream& internalDepends);
  28. virtual bool CheckDependencies(std::istream& internalDepends,
  29. std::map<std::string, DependencyVector >& validDeps);
  30. private:
  31. cmDependsJava(cmDependsJava const&); // Purposely not implemented.
  32. void operator=(cmDependsJava const&); // Purposely not implemented.
  33. };
  34. #endif