diff options
Diffstat (limited to 'libs/cassowary/cassowary/ClFDConstraint.h')
-rw-r--r-- | libs/cassowary/cassowary/ClFDConstraint.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libs/cassowary/cassowary/ClFDConstraint.h b/libs/cassowary/cassowary/ClFDConstraint.h new file mode 100644 index 0000000000..2cf9776449 --- /dev/null +++ b/libs/cassowary/cassowary/ClFDConstraint.h @@ -0,0 +1,40 @@ +// $Id$ +// +// Cassowary Incremental Constraint Solver +// Original Smalltalk Implementation by Alan Borning +// This C++ Implementation by Greg J. Badros, <gjb@cs.washington.edu> +// http://www.cs.washington.edu/homes/gjb +// (C) 1998, 1999 Greg J. Badros and Alan Borning +// See ../LICENSE for legal details regarding this software +// +// ClFDConstraint.h + +#ifndef ClFDConstraint_H +#define ClFDConstraint_H + +#if defined(HAVE_CONFIG_H) && !defined(CONFIG_H_INCLUDED) && !defined(CONFIG_INLINE_H_INCLUDED) +#include <cassowary/config-inline.h> +#define CONFIG_INLINE_H_INCLUDED +#endif + +#include "Cassowary.h" +#include "ClConstraint.h" + + +// Just a node in the class hierarchy for now +class ClFDConstraint : public ClConstraint { + private: typedef ClConstraint super; + + public: + // Constructor + ClFDConstraint(const ClStrength &strength = ClsRequired(), + double weight = 1.0) + : ClConstraint(strength, weight) { } + + virtual bool FIsOkayForSimplexSolver() const { return false; } + + protected: + +}; + +#endif |