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#include "../uint32.hpp"
8
10namespace xtd {
12 namespace media {
13 class system_sounds;
29 class core_export_ system_sound : public xtd::object {
30 public:
32 system_sound() = default;
34
36
45 void play() const;
47
48 private:
49 friend class system_sounds;
50 explicit system_sound(uint32 type);
51 uint32 type_ = 0;
52 };
53 }
54}
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
Contains core_export_ keyword.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
std::type_info type
Stores information about a type.
Definition type.hpp:23
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
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::object class.
Contains xtd::uint32 type.