API Documentation
Loading...
Searching...
No Matches
ManualManager.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/SoftwareService.h>
4#include <NDEVR/TranslatedString.h>
5namespace NDEVR
6{
7 /**--------------------------------------------------------------------------------------------------
8 \brief Contains information for adding a manual to the software, usually shown in the "About" page.
9 **/
21 /**--------------------------------------------------------------------------------------------------
22 \brief Manages all available manuals in the software.
23 **/
25 {
26 public:
27 void addManual(const Manual& manual);
28 const Buffer<Manual>& manuals() const;
29
30 public:
32 protected:
34 };
35}
#define NDEVR_API
Definition DLLInfo.h:50
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Manages all available manuals in the software.
Definition ManualManager.h:25
static ManualManager & DefaultManager()
void addManual(const Manual &manual)
const Buffer< Manual > & manuals() const
Buffer< Manual > m_manuals
Definition ManualManager.h:33
Software Services provide an interface for adding to or changing the software behavior via functional...
Definition SoftwareService.h:9
Software Service Managers take a Software service to modify the behavior of the software.
Definition SoftwareService.h:15
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
Definition ACIColor.h:37
Definition File.h:211
Contains information for adding a manual to the software, usually shown in the "About" page.
Definition ManualManager.h:11
String icon
Definition ManualManager.h:12
String resource_location
Definition ManualManager.h:14
Manual(TranslatedString title, String icon, String resource_location)
Definition ManualManager.h:15
TranslatedString title
Definition ManualManager.h:13