Revision 838496

Go back to digest for 3rd August 2008

Features in Multimedia

Peter Zhou committed changes in /trunk/extragear/multimedia/amarok/src:

Importer.load("file") is working
eg. Importer.load("qtscript_debug/debug"); the __init__.js will be loaded as an extension.

Run Qtscript Test as an example.

1. don't know why ScriptEngine can't find the extensions with the dot-qualified names like "qtscript_debug.debug"
2. the constuctor of the extension can't be loaded automatically

File Changes

Added 2 files
  • /trunk/extragear/multimedia/amarok/src/scripts/qtscript_debug/debug
  •   /__init__.js
Deleted 1 files
  • /trunk/extragear/multimedia/amarok/src/scripts/qtscript_debug/debug.js
Modified 3 files
  • /trunk/extragear/multimedia/amarok/src
  •   /scriptengine/ScriptImporter.cpp
  •   /scripts/qtscript_debug/CMakeLists.txt
  •   /scripts/qtscript_debug/main.js
6 files changed in total