mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added TypeInfo for all relevant types Added comments Updated DependencyProperty to work with System::Type Fixed casing on PropertyMetadata
35 lines
818 B
C++
35 lines
818 B
C++
/*****************************************************************************
|
|
* AudioCategory.h *
|
|
* *
|
|
* XFX XFX::Audio::AudioCategory definition file *
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
*****************************************************************************/
|
|
#ifndef XFX_AUDIO_AUDIOCATEGORY_H
|
|
#define XFX_AUDIO_AUDIOCATEGORY_H
|
|
|
|
#include <System/String.h>
|
|
|
|
using namespace System;
|
|
|
|
namespace XFX
|
|
{
|
|
namespace Audio
|
|
{
|
|
struct AudioCategory : Object
|
|
{
|
|
String Name;
|
|
|
|
static const Type& GetType();
|
|
void Pause();
|
|
void Resume();
|
|
void SetVolume(float volume);
|
|
void Stop();
|
|
|
|
bool operator!=(const AudioCategory& other) const;
|
|
bool operator==(const AudioCategory& other) const;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif // XFX_AUDIO_AUDIOCATEGORY_H
|