SILICON
Toggle main menu visibility
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
14
namespace
SILICON::ui
{
15
17
class
DocumentNavigator
{
18
public
:
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
SILICON::ui::DocumentNavigator
Definition
documentNavigator.hpp:17
SILICON::ui::DocumentNavigator::activateDocument
virtual bool activateDocument(const std::string &path)=0
SILICON::ui::DocumentNavigator::~DocumentNavigator
virtual ~DocumentNavigator()=default
SILICON::ui::DocumentNavigator::currentDocumentPath
virtual const std::string & currentDocumentPath() const noexcept=0
SILICON::ui
Definition
actionGroups.hpp:14
src
ui
documents
documentNavigator.hpp
Generated by
1.17.0