32 QOhosDisplayManager(QOhosJsState &jsState,
CreateInfo createInfo);
34 void registerDisplayCallbackListener(
35 QNapi::Object displayModule,
const std::string &eventName,
36 QOhosConsumer<QOhosJsState &, QOhosDisplayInfo::JsDisplayId> handleFunction);
37 bool tryRegisterDisplay(QOhosJsState &jsState,
JsDisplayId displayId);
38 void rebuildRegisteredDisplayList(QOhosJsState &jsState);
40 std::vector<QOhosDisplayInfo> m_registeredDisplayInfos;
41 std::vector<std::shared_ptr<
void>> m_destroyNotifiers;
42 std::map<JsDisplayId, std::shared_ptr<
void>> m_perDisplayDestroyNotifiers;
43 QOhosConsumer<QOhosJsState &, JsDisplayId, QRectF> m_availableAreaChangedCb;