Initial commit
[camargo/neiasound.git] / src / nSoundScriptMetatypes.cpp
1 #include "nSoundScriptMetatypes.h"
2
3 #ifdef NEIA
4
5 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundBag)
6 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundBuffer)
7 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundEffectParameters)
8 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundListener)
9 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundSource)
10 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundStream)
11 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundStreamer)
12 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundStreamerPlaylist)
13 N_SCRIPT_METATYPE_QOBJECT_PTR_FUNCTIONS(nSoundSystem)
14
15 void nSoundScriptMetatypes_registerAll(QScriptEngine & engine)
16 {
17     N_SCRIPT_METATYPE_REGISTER( engine, nSoundBag);
18     N_SCRIPT_METATYPE_REGISTER( engine, nSoundBuffer);
19     N_SCRIPT_METATYPE_REGISTER( engine, nSoundEffectParameters);
20     N_SCRIPT_METATYPE_REGISTER( engine, nSoundListener);
21     N_SCRIPT_METATYPE_REGISTER( engine, nSoundSource);
22     N_SCRIPT_METATYPE_REGISTER( engine, nSoundStream);
23     N_SCRIPT_METATYPE_REGISTER( engine, nSoundStreamer);
24     N_SCRIPT_METATYPE_REGISTER( engine, nSoundStreamerPlaylist);
25     N_SCRIPT_METATYPE_REGISTER( engine, nSoundSystem);
26 }
27 #endif