Home
last modified time | relevance | path

Searched refs:PasteboardObserverInstance (Results 1 - 2 of 2) sorted by relevance

/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dsystempasteboard_napi.h35 class PasteboardObserverInstance : public std::enable_shared_from_this<PasteboardObserverInstance> { class
41 void SetObserverWrapper(const std::shared_ptr<PasteboardObserverInstance> &observerInstance);
44 std::weak_ptr<PasteboardObserverInstance> wrapper_;
47 explicit PasteboardObserverInstance(const napi_env &env, const napi_ref &ref);
48 ~PasteboardObserverInstance();
106 std::shared_ptr<PasteboardObserverInstance> observer = nullptr;
242 static void DeleteObserver(const std::shared_ptr<PasteboardObserverInstance> &observer);
266 static void SetObserver(napi_ref ref, std::shared_ptr<PasteboardObserverInstance> observer);
267 static std::shared_ptr<PasteboardObserverInstance> GetObserve
[all...]
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_systempasteboard.cpp33 thread_local std::map<napi_ref, std::shared_ptr<PasteboardObserverInstance>> SystemPasteboardNapi::observers_;
41 PasteboardObserverInstance::PasteboardObserverInstance(const napi_env &env, const napi_ref &ref) : env_(env), ref_(ref) in PasteboardObserverInstance() function in OHOS::MiscServicesNapi::PasteboardObserverInstance
43 stub_ = new (std::nothrow) PasteboardObserverInstance::PasteboardObserverImpl(); in PasteboardObserverInstance()
46 PasteboardObserverInstance::~PasteboardObserverInstance() in ~PasteboardObserverInstance()
51 sptr<PasteboardObserverInstance::PasteboardObserverImpl> PasteboardObserverInstance::GetStub() in GetStub()
94 void PasteboardObserverInstance::OnPasteboardChanged() in OnPasteboardChanged()
288 observer = std::make_shared<PasteboardObserverInstance>(en in On()
[all...]

Completed in 3 milliseconds