123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef cmFunctionBlocker_h
- #define cmFunctionBlocker_h
- #include "cmListFileCache.h"
- class cmExecutionStatus;
- class cmMakefile;
- class cmFunctionBlocker
- {
- public:
-
- virtual bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile& mf,
- cmExecutionStatus& status) = 0;
-
- virtual bool ShouldRemove(const cmListFileFunction&, cmMakefile&)
- {
- return false;
- }
- virtual ~cmFunctionBlocker() {}
-
- void SetStartingContext(cmListFileContext const& lfc)
- {
- this->StartingContext = lfc;
- }
- cmListFileContext const& GetStartingContext() const
- {
- return this->StartingContext;
- }
- private:
- cmListFileContext StartingContext;
- };
- #endif
|