ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
Sound.h File Reference

Sound loading and playback. More...

#include <SDL_mixer.h>
#include <Objectively/Data.h>
#include <Objectively/Resource.h>
#include <ObjectivelyMVC/Types.h>

Go to the source code of this file.

Data Structures

struct  Sound
 Sound loading and playback. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Sound (void)
 

Detailed Description

Sound loading and playback.

Definition in file Sound.h.

Function Documentation

◆ _Sound()

OBJECTIVELYMVC_EXPORT Class * _Sound ( void  )

Definition at line 190 of file Sound.c.

190 {
191 static Class *clazz;
192 static Once once;
193
194 do_once(&once, {
195 clazz = _initialize(&(const ClassDef) {
196 .name = "Sound",
197 .superclass = _Object(),
198 .instanceSize = sizeof(Sound),
199 .interfaceOffset = offsetof(Sound, interface),
200 .interfaceSize = sizeof(SoundInterface),
202 });
203 });
204
205 return clazz;
206}
static void initialize(Class *clazz)
Definition: Sound.c:169
Sound loading and playback.
Definition: Sound.h:45