mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-06-01 01:54:00 +00:00
31 lines
847 B
C++
31 lines
847 B
C++
#ifndef BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_SERVICE_H_
|
|
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_SERVICE_H_
|
|
|
|
/**
|
|
* @file services/enrichment_service.h
|
|
* @brief Abstraction for resolving contextual enrichment for a location.
|
|
*/
|
|
|
|
#include <string>
|
|
|
|
#include "data_model/location.h"
|
|
|
|
/**
|
|
* @brief Interface for services that can enrich a location with context.
|
|
*/
|
|
class IEnrichmentService {
|
|
public:
|
|
/// @brief Virtual destructor for polymorphic cleanup.
|
|
virtual ~IEnrichmentService() = default;
|
|
|
|
/**
|
|
* @brief Resolves contextual enrichment for a location.
|
|
*
|
|
* @param loc Location to enrich.
|
|
* @return Context text, or an empty string if unavailable.
|
|
*/
|
|
virtual std::string GetLocationContext(const Location& loc) = 0;
|
|
};
|
|
|
|
#endif // BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_SERVICE_H_
|