generated from McMassiveNZ/blank-slate
CI / build (debug, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (debug, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (release, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:appleclang os:macos-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:clang os:ubuntu-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:gcc os:ubuntu-latest]) (push) Canceled after 0s
CI / build (sanitizers, map[compiler:msvc os:windows-latest]) (push) Canceled after 0s
Replace CPM with FetchContent and update GoogleTest to v1.18.0. Add compiler toolchains and Debug, Release, and sanitizer presets. Require CMake 4.0, use target properties for compiler settings, and enable compilation database export. Fix skeleton compilation errors and adopt trailing return types, nodiscard execute methods, and noexcept signatures. Update CI and project documentation without implementing any TODOs. Validated Windows builds and tests in all three configurations.
30 lines
735 B
C++
30 lines
735 B
C++
#ifndef REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED
|
|
#define REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED
|
|
|
|
#include <cstdint>
|
|
#include <string_view>
|
|
|
|
#pragma once
|
|
|
|
namespace rl
|
|
{
|
|
|
|
using exit_code = std::int32_t;
|
|
|
|
class IRepoLensTool
|
|
{
|
|
public:
|
|
IRepoLensTool() noexcept = default;
|
|
virtual ~IRepoLensTool() noexcept = default;
|
|
IRepoLensTool(const IRepoLensTool&) noexcept = delete;
|
|
IRepoLensTool(IRepoLensTool&&) noexcept = delete;
|
|
auto operator=(const IRepoLensTool&) noexcept -> IRepoLensTool& = delete;
|
|
auto operator=(IRepoLensTool&&) noexcept -> IRepoLensTool& = delete;
|
|
|
|
[[nodiscard]] virtual auto execute(std::string_view arguments) noexcept -> exit_code = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif //REPO_LENSE_TOOL_INTERFACE_HPP_INCLUDED
|