mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
59 lines
1.1 KiB
C
59 lines
1.1 KiB
C
|
/********************************************************
|
|||
|
* Enums.h *
|
|||
|
* *
|
|||
|
* XFX::Media enumeration definition file *
|
|||
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|||
|
********************************************************/
|
|||
|
#ifndef _MEDIA_ENUMS_H_
|
|||
|
#define _MEDIA_ENUMS_H_
|
|||
|
|
|||
|
namespace XFX
|
|||
|
{
|
|||
|
namespace Media
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Type of the media source.
|
|||
|
/// </summary>
|
|||
|
struct MediaSourceType
|
|||
|
{
|
|||
|
enum type
|
|||
|
{
|
|||
|
LocalDevice,
|
|||
|
WindowsMediaConnect
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Media playback state (playing, paused, or stopped).
|
|||
|
/// </summary>
|
|||
|
struct MediaState
|
|||
|
{
|
|||
|
enum type
|
|||
|
{
|
|||
|
Paused,
|
|||
|
Playing,
|
|||
|
Stopped
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Type of sounds in a video
|
|||
|
/// </summary>
|
|||
|
struct VideoSoundtrackType
|
|||
|
{
|
|||
|
enum type
|
|||
|
{
|
|||
|
Dialog,
|
|||
|
Music,
|
|||
|
MusicAndDialog
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
typedef MediaSourceType::type MediaSourceType_t;
|
|||
|
typedef MediaState::type MediaState_t;
|
|||
|
typedef VideoSoundtrackType::type VideoSoundtrackType_t;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
#endif //_MEDIA_ENUMS_H_
|