LCOV - code coverage report
Current view: top level - src/presets - i_preset_migrator.h (source / functions) Coverage Total Hit
Test: merged.info Lines: 100.0 % 2 2
Test Date: 2026-06-07 15:51:50 Functions: 50.0 % 2 1

            Line data    Source code
       1              : #pragma once
       2              : 
       3              : #include <string>
       4              : 
       5              : namespace Amplitron {
       6              : 
       7              : /**
       8              :  * @brief Interface for migrating preset configurations across versions.
       9              :  * Satisfies Single Responsibility Principle (SRP) and Dependency Inversion Principle (DIP).
      10              :  */
      11          126 : class IPresetMigrator {
      12              :    public:
      13          378 :     virtual ~IPresetMigrator() = default;
      14              :     virtual std::string migrate(const std::string& raw_json) = 0;
      15              : };
      16              : 
      17              : }  // namespace Amplitron
        

Generated by: LCOV version 2.0-1