/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCxxPlatform/react/devsupport/IDevUIDelegate.h
36 строк
833 B
Christoph Purrer
Add devsupport target to ReactCxxPlatform (#51902)
10 июн 2025, 09:15
10 июн 2025, 09:15
0e0cd39
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/graphics/Color.h> #include <functional> #include <string> namespace facebook::react { struct IDevUIDelegate { virtual ~IDevUIDelegate() noexcept = default; virtual void showDownloadBundleProgress() = 0; virtual void hideDownloadBundleProgress() = 0; virtual void showLoadingView( const std::string& message, SharedColor textColor, SharedColor backgroundColor) = 0; virtual void hideLoadingView() = 0; virtual void showDebuggerOverlay( std::function<void()>&& resumeDebuggerFn) = 0; virtual void hideDebuggerOverlay() = 0; }; } // namespace facebook::react