xtd 0.2.0
Loading...
Searching...
No Matches
prompt.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../object.hpp"
6#include "../../string.hpp"
7
9namespace xtd {
11 namespace speech {
13 namespace synthesis {
17
37 friend class speech_synthesizer;
38 struct data;
39
40 public:
42
46 explicit prompt(const xtd::string& text_to_speak);
48
50 prompt();
51 prompt(const prompt&) = default;
52 prompt(prompt&&) = default;
53 prompt& operator =(const prompt&) = default;
55
57
59 bool is_completed() const noexcept;
61
62 private:
63 xtd::string& text_to_speak() noexcept;
64 void synthesizer(const speech_synthesizer* synthesizer) noexcept;
65 xtd::sptr<data> data_;
66 };
67 }
68 }
69}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
Represents information about what can be rendered, either text or an audio file, by the xtd::speech::...
Definition prompt.hpp:36
prompt(const xtd::string &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.hpp:35
#define core_export_
Define shared library export.
Definition core_export.hpp:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10