xtd 0.2.0
system_sound.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../core_export.hpp"
6#include "../object.hpp"
7
9namespace xtd {
11 namespace media {
12 class system_sounds;
29 public:
31 system_sound() = default;
33
35
44 void play() const;
46
47 private:
48 friend class system_sounds;
49 explicit system_sound(uint32 type);
50 uint32 type_ = 0;
51 };
52 }
53}
Represents a system sound type.
Definition system_sound.hpp:28
void play() const
Plays the system sound type.
Retrieves sounds associated with a set of Windows operating system sound-event types....
Definition system_sounds.hpp:28
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
#define core_export_
Define shared library export.
Definition core_export.hpp:13
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
std::type_info type
Stores information about a type.
Definition type.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10