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