CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
i_xmp_path_strategy.h
Go to the documentation of this file.
1
9#pragma once
10
11#include <string>
12
13namespace CaptureMoment::Core {
14
15namespace Serializer {
16
25public:
26 virtual ~IXmpPathStrategy() = default;
27
34 [[nodiscard]] virtual std::string getXmpPathForImage(std::string_view source_image_path) const = 0;
35
45 [[nodiscard]] virtual std::string getImagePathFromXmp(std::string_view xmp_path) const = 0;
46};
47
48} // namespace Serializer
49
50} // namespace CaptureMoment::Core
Interface defining the strategy for determining XMP file paths based on image paths.
virtual std::string getXmpPathForImage(std::string_view source_image_path) const =0
Calculates the XMP file path associated with a given source image path.
virtual std::string getImagePathFromXmp(std::string_view xmp_path) const =0
Calculates the source image path associated with a given XMP file path.
Manages the lifecycle of a single IWorkingImage instance.
CaptureMoment — footer