X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fevents%2Fkey-event-impl.cpp;h=8f0c84f956bcb5fe72445ee88fb2800c6cfd1de5;hb=refs%2Ftags%2Faccepted%2Ftizen%2F5.0%2Funified%2F20190315.061321;hp=8395e201f866ed2ff535ac2d7ef67cd2f4ac0acf;hpb=cec485bd62f73c6c1da40855b24190013b3b469d;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/events/key-event-impl.cpp b/dali/internal/event/events/key-event-impl.cpp old mode 100644 new mode 100755 index 8395e20..8f0c84f --- a/dali/internal/event/events/key-event-impl.cpp +++ b/dali/internal/event/events/key-event-impl.cpp @@ -44,7 +44,9 @@ namespace Internal { KeyEventImpl::KeyEventImpl( KeyEvent* keyEvent ) -: mDeviceName( "" ), +: mLogicalKey( "" ), + mCompose( "" ), + mDeviceName( "" ), mDeviceClass( Device::Class::NONE ), mDeviceSubclass( Device::Subclass::NONE ) { @@ -67,6 +69,8 @@ KeyEventImpl& KeyEventImpl::operator=( const KeyEventImpl& rhs ) { if( this != &rhs ) { + mLogicalKey = rhs.mLogicalKey; + mCompose = rhs.mCompose; mDeviceName = rhs.mDeviceName; mDeviceClass = rhs.mDeviceClass; mDeviceSubclass = rhs.mDeviceSubclass; @@ -75,6 +79,26 @@ KeyEventImpl& KeyEventImpl::operator=( const KeyEventImpl& rhs ) return *this; } +std::string KeyEventImpl::GetLogicalKey() const +{ + return mLogicalKey; +} + +void KeyEventImpl::SetLogicalKey( const std::string& logicalKey ) +{ + mLogicalKey = logicalKey; +} + +std::string KeyEventImpl::GetCompose() const +{ + return mCompose; +} + +void KeyEventImpl::SetCompose( const std::string& compose ) +{ + mCompose = compose; +} + std::string KeyEventImpl::GetDeviceName() const { return mDeviceName;