2018-06-22 07:28:38 -07:00
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-06-22 07:28:38 -07:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ImageResponse.h"
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2018-10-05 11:01:08 -07:00
|
|
|
ImageResponse::ImageResponse(const std::shared_ptr<void> &image)
|
|
|
|
: image_(image) {}
|
2018-06-22 07:28:38 -07:00
|
|
|
|
|
|
|
std::shared_ptr<void> ImageResponse::getImage() const {
|
|
|
|
return image_;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|