xtd 0.2.0
Loading...
Searching...
No Matches
system_sounds.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "system_sound.hpp"
6#include "../core_export.hpp"
7#include "../static.hpp"
8
10namespace xtd {
12 namespace media {
29 public:
31
41 [[nodiscard]] static auto asterisk() -> xtd::media::system_sound;
42
51 [[nodiscard]] static auto beep() -> xtd::media::system_sound;
52
61 [[nodiscard]] static auto exclamation() -> xtd::media::system_sound;
62
71 [[nodiscard]] static auto hand() -> xtd::media::system_sound;
72
81 [[nodiscard]] static auto question() -> xtd::media::system_sound;
83 };
84 }
85}
Represents a system sound type.
Definition system_sound.hpp:29
Retrieves sounds associated with a set of Windows operating system sound-event types....
Definition system_sounds.hpp:28
static auto exclamation() -> xtd::media::system_sound
Gets the sound associated with the Exclamation program event in the current Windows sound scheme.
static auto question() -> xtd::media::system_sound
Gets the sound associated with the Question program event in the current Windows sound scheme.
static auto beep() -> xtd::media::system_sound
Gets the sound associated with the Beep program event in the current Windows sound scheme.
static auto hand() -> xtd::media::system_sound
Gets the sound associated with the Hand program event in the current Windows sound scheme.
static auto asterisk() -> xtd::media::system_sound
Gets the sound associated with the Asterisk program event in the current Windows sound scheme.
Contains core_export_ keyword.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define core_export_
Define shared library export.
Definition core_export.hpp:13
The xtd::media namespace contains classes for playing sound files and accessing sounds provided by th...
Definition system_sound.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::static_object class.
Contains xtd::media::system_sound class.