extend Comment API

This commit is contained in:
Alexey Fedoseev
2024-05-10 20:36:56 +03:00
parent 6d6be0667d
commit f7e5909a17

View File

@@ -208,6 +208,7 @@ namespace Cyberiada {
bool is_machine_readable() const { return !human_readable; } bool is_machine_readable() const { return !human_readable; }
bool has_body() const { return !body.empty(); } bool has_body() const { return !body.empty(); }
const String& get_body() const { return body; }
void set_body(const String& b) { body = b; } void set_body(const String& b) { body = b; }
bool has_subjects() const { return !subjects.empty(); } bool has_subjects() const { return !subjects.empty(); }
@@ -391,7 +392,7 @@ namespace Cyberiada {
// Cyberiada action types: // Cyberiada action types:
typedef enum { typedef enum {
actionTransition, actionTransition = 0,
actionEntry, actionEntry,
actionExit actionExit
} ActionType; } ActionType;