summaryrefslogtreecommitdiff
path: root/libs/cassowary/cassowary/ClStayConstraint.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cassowary/cassowary/ClStayConstraint.h')
-rw-r--r--libs/cassowary/cassowary/ClStayConstraint.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/libs/cassowary/cassowary/ClStayConstraint.h b/libs/cassowary/cassowary/ClStayConstraint.h
deleted file mode 100644
index f009731b09..0000000000
--- a/libs/cassowary/cassowary/ClStayConstraint.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// $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
-//
-// ClStayConstraint.h
-
-#ifndef ClStayConstraint_H
-#define ClStayConstraint_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 "ClEditOrStayConstraint.h"
-
-class ClStayConstraint : public ClEditOrStayConstraint {
- typedef ClEditOrStayConstraint super;
- public:
-
- ClStayConstraint(const ClVariable var,
- const ClStrength &strength = ClsWeak(), double weight = 1.0 ) :
- ClEditOrStayConstraint(var,strength,weight)
- { }
-
- virtual bool isStayConstraint() const
- { return true; }
-
-#ifndef CL_NO_IO
- virtual ostream &PrintOn(ostream &xo) const
- { super::PrintOn(xo); return xo << " STAY)"; }
-#endif
-
- private:
-};
-
-#endif