Kun Yi | 91beea6 | 2018-11-26 15:23:14 -0800 | [diff] [blame] | 1 | #include "handler.hpp" |
| 2 | |
| 3 | #include <blobs-ipmid/blobs.hpp> |
| 4 | #include <memory> |
| 5 | |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | /** |
| 11 | * This is required by the blob manager. |
| 12 | * TODO: move the declaration to blobs.hpp since all handlers need it |
| 13 | */ |
| 14 | std::unique_ptr<blobs::GenericBlobInterface> createHandler(); |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | } |
| 18 | #endif |
| 19 | |
| 20 | std::unique_ptr<blobs::GenericBlobInterface> createHandler() |
| 21 | { |
| 22 | return std::make_unique<blobs::BinaryStoreBlobHandler>(); |
| 23 | } |