xtd 0.2.0
Loading...
Searching...
No Matches
prompt.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../object.h"
6#include "../../ustring.h"
7
9namespace xtd {
11 namespace speech {
13 namespace synthesis {
17
35 friend class speech_synthesizer;
36 struct data;
37
38 public:
40
44 explicit prompt(const xtd::ustring& text_to_speak);
46
48 prompt();
49 prompt(const prompt&) = default;
50 prompt(prompt&&) = default;
51 prompt& operator =(const prompt&) = default;
53
55
57 bool is_completed() const noexcept;
59
60 private:
61 xtd::ustring& text_to_speak() noexcept;
62 void synthesizer(const speech_synthesizer* synthesizer) noexcept;
63 std::shared_ptr<data> data_;
64 };
65 }
66 }
67}
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
Represents information about what can be rendered, either text or an audio file, by the xtd::speech::...
Definition prompt.h:34
prompt(const xtd::ustring &text_to_speak)
Initializes a new instance of the xtd::speech::synthesis::speech_synthesizer class.
Provides access to the functionality of an installed speech synthesis engine.
Definition speech_synthesizer.h:33
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define core_export_
Define shared library export.
Definition core_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10