mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Replaced all copyright symbols with (c) to improve cross-platform reading Added classes to XFX::Audio namespace Added and updated classes in XFX::Graphics namespace Updated event function signature Replaced const char* ToString() with const String& ToString()
53 lines
1.0 KiB
C++
53 lines
1.0 KiB
C++
/********************************************************
|
|
* Enums.h *
|
|
* *
|
|
* XFX::Media enumeration definition file *
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _XFX_MEDIA_ENUMS_H_
|
|
#define _XFX_MEDIA_ENUMS_H_
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Media
|
|
{
|
|
// Type of the media source.
|
|
struct MediaSourceType
|
|
{
|
|
enum type
|
|
{
|
|
LocalDevice,
|
|
WindowsMediaConnect
|
|
};
|
|
};
|
|
|
|
// Media playback state (playing, paused, or stopped).
|
|
struct MediaState
|
|
{
|
|
enum type
|
|
{
|
|
Paused,
|
|
Playing,
|
|
Stopped
|
|
};
|
|
};
|
|
|
|
// Type of sounds in a video
|
|
struct VideoSoundtrackType
|
|
{
|
|
enum type
|
|
{
|
|
Dialog,
|
|
Music,
|
|
MusicAndDialog
|
|
};
|
|
};
|
|
|
|
typedef MediaSourceType::type MediaSourceType_t; // Type of the media source.
|
|
typedef MediaState::type MediaState_t; // Media playback state (playing, paused, or stopped).
|
|
typedef VideoSoundtrackType::type VideoSoundtrackType_t; // Type of sounds in a video
|
|
}
|
|
}
|
|
|
|
#endif //_XFX_MEDIA_ENUMS_H_
|