SILICON
Loading...
Searching...
No Matches
documentNavigator.hpp
Go to the documentation of this file.
1/*
2 Copyright (c) 2026. Giulio Cocconi
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8 */
9
10#pragma once
11
12#include <string>
13
14namespace SILICON::ui {
15
18public:
19 virtual ~DocumentNavigator() = default;
20 [[nodiscard]] virtual const std::string& currentDocumentPath() const noexcept = 0;
21 virtual bool activateDocument(const std::string& path) = 0;
22};
23
24} // namespace SILICON::ui
virtual bool activateDocument(const std::string &path)=0
virtual ~DocumentNavigator()=default
virtual const std::string & currentDocumentPath() const noexcept=0