/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
: mStyleMonitor(StyleMonitor::Get()),
mDamageObserver(damageObserver),
mClipboardEventNotifier(ClipboardEventNotifier::Get()),
- mClipboard(Clipboard::Get()),
mPaused(false)
{
// Connect signals
selectionData = clipBoardImpl.ExcuteBuffered(false, event);
}
+ if(!mClipboardEventNotifier)
+ {
+ mClipboardEventNotifier = ClipboardEventNotifier::Get();
+ }
+
if(selectionData && mClipboardEventNotifier)
{
ClipboardEventNotifier& clipboardEventNotifier(ClipboardEventNotifier::GetImplementation(mClipboardEventNotifier));
#define DALI_INTERNAL_EVENT_HANDLER_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
DamageObserver& mDamageObserver; ///< Reference to the DamageObserver, set on construction, to sent damage events to.
Dali::ClipboardEventNotifier mClipboardEventNotifier; ///< Pointer to the clipboard event notifier
- Dali::Clipboard mClipboard; ///< Pointer to the clipboard
using ObserverContainer = std::vector<Observer*>;
ObserverContainer mObservers; ///< A list of event observer pointers