summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-03-17 12:39:14 +0000
committerCarl Hetherington <cth@carlh.net>2017-03-17 12:39:14 +0000
commitf6943382731a98b2ca33de534fcbb9fd3d1ddf60 (patch)
tree843279a54352875e57d950b3bc60d62944f5dd3b /src/types.h
parent528e3f81143401577a5a101e8d868ac431969f5b (diff)
Move Size operator functions to the same file as the class declaration.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index dfa49ff6..14f10c3f 100644
--- a/src/types.h
+++ b/src/types.h
@@ -68,6 +68,10 @@ struct Size
int height;
};
+extern bool operator== (Size const & a, Size const & b);
+extern bool operator!= (Size const & a, Size const & b);
+extern std::ostream& operator<< (std::ostream& s, Size const & a);
+
/** Identifier for a sound channel */
enum Channel {
LEFT = 0, ///< left