Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::internal::DocumentLoadFailureNotice Struct Reference

Copy for the canvas notice shown when an opened document could not be loaded. More...

#include "donner/editor/EditorShellInternal.h"

Public Member Functions

bool operator== (const DocumentLoadFailureNotice &other) const =default
 Compare all members for value equality.

Public Attributes

std::string title
 One-line summary of why the canvas is empty.
std::string detail
 The problem, including the limit that was exceeded when there is one.

Friends

std::ostream & operator<< (std::ostream &os, const DocumentLoadFailureNotice &notice)
 Print both fields so a failed comparison shows which one changed.

Detailed Description

Copy for the canvas notice shown when an opened document could not be loaded.

Member Function Documentation

◆ operator==()

bool donner::editor::internal::DocumentLoadFailureNotice::operator== ( const DocumentLoadFailureNotice & other) const
default

Compare all members for value equality.

Parameters
otherValue to compare.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const DocumentLoadFailureNotice & notice )
friend

Print both fields so a failed comparison shows which one changed.

Parameters
osOutput stream.
noticeNotice to print.

The documentation for this struct was generated from the following file: