2015-10-28, 22:55
Hi,
Anyone knows what would be the right way to excute some C++ code after a Script is completed within Kodi source code? I have a script that is executed by a CDirectoryProvider, and I would like to have a piece of code excuted when it completes.
Should I create a derived class of CDirectoryProvider and override the OnJobComplete() method?? or is there a way to register a callback to be called after the Fetch() is completed?
Thanks in advance for any tip...
Anyone knows what would be the right way to excute some C++ code after a Script is completed within Kodi source code? I have a script that is executed by a CDirectoryProvider, and I would like to have a piece of code excuted when it completes.
Should I create a derived class of CDirectoryProvider and override the OnJobComplete() method?? or is there a way to register a callback to be called after the Fetch() is completed?
Thanks in advance for any tip...