1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/source/Misc/Sound.hpp
2015-11-01 05:48:01 +02:00

142 lines
4.1 KiB
C++

#ifndef _MISC_SOUND_HPP_
#define _MISC_SOUND_HPP_
// ------------------------------------------------------------------------------------------------
#include "Common.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class CSound
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound();
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound(SQInt32 id);
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound(const CSound & x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound(CSound && x);
/* --------------------------------------------------------------------------------------------
* ...
*/
~CSound();
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound & operator= (const CSound & x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound & operator= (CSound && x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound operator+ (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound operator- (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound operator* (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CSound operator/ (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator == (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator != (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator < (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator > (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator <= (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator >= (const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
SQInteger Cmp(const CSound & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
operator SQInt32 () const;
/* --------------------------------------------------------------------------------------------
* ...
*/
operator bool () const;
/* --------------------------------------------------------------------------------------------
* ...
*/
SQInt32 GetID() const;
/* --------------------------------------------------------------------------------------------
* ...
*/
void SetID(SQInt32 id);
/* --------------------------------------------------------------------------------------------
* ...
*/
void Play() const;
protected:
/* --------------------------------------------------------------------------------------------
* ...
*/
SQInt32 m_ID;
};
} // Namespace:: SqMod
#endif // _MISC_SOUND_HPP_