2018-03-18 19:04:25 -07:00
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-03-18 19:04:25 -07:00
|
|
|
*
|
|
|
|
* 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 <memory>
|
|
|
|
|
2018-11-10 14:19:08 -08:00
|
|
|
#include <react/components/view/AccessibilityProps.h>
|
|
|
|
#include <react/core/ShadowNode.h>
|
2018-03-18 19:04:25 -07:00
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
|
|
|
class AccessibleShadowNode;
|
|
|
|
|
2018-08-04 09:30:20 -07:00
|
|
|
using SharedAccessibleShadowNode = std::shared_ptr<const AccessibleShadowNode>;
|
2018-03-18 19:04:25 -07:00
|
|
|
|
|
|
|
class AccessibleShadowNode {
|
2018-10-05 11:01:08 -07:00
|
|
|
public:
|
2018-03-18 19:04:25 -07:00
|
|
|
#pragma mark - Constructors
|
|
|
|
|
|
|
|
AccessibleShadowNode() = default;
|
|
|
|
|
2018-10-05 11:01:08 -07:00
|
|
|
AccessibleShadowNode(const SharedAccessibilityProps &props);
|
2018-03-18 19:04:25 -07:00
|
|
|
|
|
|
|
AccessibleShadowNode(
|
2018-10-05 11:01:08 -07:00
|
|
|
const AccessibleShadowNode &shadowNode,
|
|
|
|
const SharedAccessibilityProps &props = nullptr);
|
2018-03-18 19:04:25 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|