summaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 01:34:49 +0300
commit68a7dd225969fcdfb9c07b99db43756a2b1dec7c (patch)
tree644c14f9b178a968a53e742fb5f37aaf29fc062d /src/listeners
parentd3f3ec92d583fcaecccb500c8940f33d7228ff89 (diff)
downloadplus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.gz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.bz2
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.tar.xz
plus-68a7dd225969fcdfb9c07b99db43756a2b1dec7c.zip
Change attributes value type to int64.
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/attributelistener.cpp4
-rw-r--r--src/listeners/attributelistener.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/listeners/attributelistener.cpp b/src/listeners/attributelistener.cpp
index 0680a27eb..696f9a120 100644
--- a/src/listeners/attributelistener.cpp
+++ b/src/listeners/attributelistener.cpp
@@ -27,8 +27,8 @@
defineListener(AttributeListener)
void AttributeListener::distributeEvent(const AttributesT id,
- const int oldVal,
- const int newVal)
+ const int64_t oldVal,
+ const int64_t newVal)
{
FOR_EACH (STD_VECTOR<AttributeListener*>::iterator,
it, mListeners)
diff --git a/src/listeners/attributelistener.h b/src/listeners/attributelistener.h
index 634dd2d61..87b634af2 100644
--- a/src/listeners/attributelistener.h
+++ b/src/listeners/attributelistener.h
@@ -33,12 +33,12 @@ class AttributeListener notfinal
A_DELETE_COPY(AttributeListener)
virtual void attributeChanged(const AttributesT id,
- const int oldVal,
- const int newVal) = 0;
+ const int64_t oldVal,
+ const int64_t newVal) = 0;
static void distributeEvent(const AttributesT id,
- const int oldVal,
- const int newVal);
+ const int64_t oldVal,
+ const int64_t newVal);
defineListenerHeader(AttributeListener)
};