projects
/
framework
/
web
/
wrt-commons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tizen 2.1 base
[framework/web/wrt-commons.git]
/
modules
/
event
/
include
/
dpl
/
event
/
property.h
diff --git
a/modules/event/include/dpl/event/property.h
b/modules/event/include/dpl/event/property.h
index
33da4df
..
7c87e50
100644
(file)
--- a/
modules/event/include/dpl/event/property.h
+++ b/
modules/event/include/dpl/event/property.h
@@
-514,6
+514,14
@@
public:
EmitEvent(PropertyEvent<Type>(value, this->m_model),
EmitMode::Auto);
}
+
+ void SetWithoutLock(const Type &value)
+ {
+ if (this->m_storage.Get() == value)
+ return;
+
+ this->m_storage.Set(value);
+ }
};
}