Make HorizontalPosition a class containing a reference enum.
[libsub.git] / src / horizontal_position.h
index df592d9a46c6b8bb90176ae36d54424b619b8ac2..1f4b1614072604086b75ccefd75a58ed1224619e 100644 (file)
 #ifndef LIBSUB_HORIZONTAL_POSITION_H
 #define LIBSUB_HORIZONTAL_POSITION_H
 
+#include "horizontal_reference.h"
+
 namespace sub {
 
-enum HorizontalPosition
+class HorizontalPosition
 {
-       LEFT,
-       CENTRE,
-       RIGHT
+public:
+       HorizontalReference reference;
+
+       bool operator== (HorizontalPosition const & other) const;
 };
-       
+
 }
 
 #endif