History

Merge branch 'master' of https://github.com/highfidelity/hifi into temp0

Sam Gateau committed 12 years ago

Commit f09b58c2 parents 642f436 717710491 files · +877 −379Browse files

Showing the changes to interface/src/Application.cpp (1 of 91 files). Show all

Unified · Split

interface/src/Application.cpp+5−1
@@ -65,6 +65,7 @@ · 64 unmodified lines
6565 #include <PacketHeaders.h>
6666 #include <PerfStat.h>
6767 #include <ResourceCache.h>
68+#include <SoundCache.h>
6869 #include <UserActivityLogger.h>
6970 #include <UUID.h>
7071
@@ -3905,7 +3906,9 @@ void Application::registerScriptEngineWithApplicationServices(ScriptEngine* scri · 3834 unmodified lines
39053906 connect(scriptEngine, SIGNAL(loadScript(const QString&, bool)), this, SLOT(loadScript(const QString&, bool)));
39063907
39073908 scriptEngine->registerGlobalObject("Overlays", &_overlays);
3908− qScriptRegisterMetaType(scriptEngine, RayToOverlayIntersectionResultToScriptValue, RayToOverlayIntersectionResultFromScriptValue);
3909+ qScriptRegisterMetaType(scriptEngine, OverlayPropertyResultToScriptValue, OverlayPropertyResultFromScriptValue);
3910+ qScriptRegisterMetaType(scriptEngine, RayToOverlayIntersectionResultToScriptValue,
3911+ RayToOverlayIntersectionResultFromScriptValue);
39093912
39103913 QScriptValue windowValue = scriptEngine->registerGlobalObject("Window", WindowScriptingInterface::getInstance());
39113914 scriptEngine->registerGetterSetter("location", LocationScriptingInterface::locationGetter,
@@ -3920,6 +3923,7 @@ void Application::registerScriptEngineWithApplicationServices(ScriptEngine* scri · 8 unmodified lines
39203923 scriptEngine->registerGlobalObject("Settings", SettingsScriptingInterface::getInstance());
39213924 scriptEngine->registerGlobalObject("AudioDevice", AudioDeviceScriptingInterface::getInstance());
39223925 scriptEngine->registerGlobalObject("AnimationCache", &_animationCache);
3926+ scriptEngine->registerGlobalObject("SoundCache", &SoundCache::getInstance());
39233927 scriptEngine->registerGlobalObject("AudioReflector", &_audioReflector);
39243928 scriptEngine->registerGlobalObject("Account", AccountScriptingInterface::getInstance());
39253929 scriptEngine->registerGlobalObject("Metavoxels", &_metavoxels);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t