summaryrefslogtreecommitdiffstats
path: root/tests/libother/number.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother/number.h')
-rw-r--r--tests/libother/number.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/libother/number.h b/tests/libother/number.h
index d739802d..32af3325 100644
--- a/tests/libother/number.h
+++ b/tests/libother/number.h
@@ -37,18 +37,24 @@
#include "libothermacros.h"
#include "str.h"
+#include "point.h"
class LIBOTHER_API Number
{
public:
explicit Number(int value) : m_value(value) {};
- int value() { return m_value; }
+ int value() const { return m_value; }
Str toStr() const;
operator Str() const { return toStr(); }
+ friend LIBOTHER_API Point operator*(const Point&, const Number&);
+
private:
int m_value;
};
+
+LIBOTHER_API Point operator*(const Point&, const Number&);
+
#endif // NUMBER_H