summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-17 21:30:34 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-17 21:30:34 +0000
commitc289685296d58228df0a88354e966105b242c915 (patch)
tree7a6d0ae7f447038cf6a43c9dbf10eca08b59fd6b /src/util.h
parentc2cf8eb8d22265988bbf81e0331a98a7aa6786ed (diff)
Add Size operators; install util.h
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index dd153cb3..f5685970 100644
--- a/src/util.h
+++ b/src/util.h
@@ -49,6 +49,9 @@ struct Size {
int height;
};
+extern bool operator== (Size const & a, Size const & b);
+extern bool operator!= (Size const & a, Size const & b);
+
extern std::string make_uuid ();
extern std::string make_digest (std::string filename);
extern std::string content_kind_to_string (ContentKind kind);