acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
system_aqua.h
1
//
2
// Created by camilo on 2024-10-24 18:19 <3ThomasBorregaardSorensen!!
3
//
4
#pragma once
5
6
7
#include "platform.h"
8
//#include "acme.h"
9
#include "context.h"
10
//#include "system_factory.h"
11
#include "application_flags.h"
12
#include "acme/constant/gender.h"
13
#include "acme/parallelization/_types.h"
14
#include "acme/prototype/collection/map.h"
15
#include "acme/prototype/prototype/factory.h"
16
17
namespace
platform
18
{
19
20
struct
aqua_system_layer_t
21
{
22
::pointer<::aqua::audio> m_paudio;
23
24
::pointer<::aqua::multimedia> m_pmultimedia;
25
26
::pointer<::aqua::audio_mixer> m_paudiomixer;
27
28
::pointer<::aqua::estamira> m_pestamira;
29
30
31
32
};
33
34
35
class
CLASS_DECL_ACME
aqua_system_layer
36
{
37
public
:
38
39
40
virtual
void
on_add_session(::platform::session* papexsession);
41
42
//virtual void initialize_rich_text();
43
44
virtual ::xml::xml* _xml();
45
46
virtual
void
speak(const ::scoped_string& scopedstr, const ::scoped_string& scopedstrLang =
"en-us"
, enum_gender egender = e_gender_none);
47
48
virtual
void
initialize_xml();
49
50
virtual
void
create_audio();
51
52
virtual
void
defer_audio();
53
54
virtual
void
defer_multimedia();
55
56
virtual
void
defer_audio_mixer();
57
58
virtual ::factory::factory_pointer audio_mixer_factory();
59
60
//virtual bool has_audio() override;
61
62
virtual ::aqua::multimedia* defer_get_multimedia();
63
64
virtual ::aqua::audio_mixer * get_audio_mixer();
65
66
67
virtual ::aqua::audio * audio();
68
69
virtual
bool
has_audio();
70
71
virtual ::aqua::multimedia * multimedia();
72
73
74
};
75
76
77
78
}
// namespace platform
79
platform::aqua_system_layer
Definition
system_aqua.h:36
platform
include "thread/AutoLock.h"
Definition
_forward_declaration.h:877
platform::aqua_system_layer_t
Definition
system_aqua.h:21
platform
system_aqua.h
Generated by
1.17.0