#include "../handler.h"
#include "../processing_handler.h"
#include "common/widgets/markdown_helper.h"
#include "nlohmann/json.hpp"
#include "products/product.h"
#include <functional>
#include <memory>
#include <vector>
Go to the source code of this file.
◆ getProductHandlerForProduct()
std::shared_ptr< ProductHandler > satdump::handlers::getProductHandlerForProduct |
( |
std::shared_ptr< products::Product > | product, |
|
|
bool | dataset_mode = false ) |
Get the appropriate ProductHandler for the provided products.
- Parameters
-
product | product, loaded with loadProducts() |
dataset_mode | must be true if opening inside a dataset |
- Returns
- appropriate handler pointer