obs-studio/obs
jp9000 59ea3becf2 (API Change) Refactor module handling
Changed API:
- char *obs_find_plugin_file(const char *sub_path);

  Changed to: char *obs_module_file(const char *file);

  Cahnge it so you no longer need to specify a sub-path such as:
  obs_find_plugin_file("module_name/file.ext")

  Instead, now automatically handle the module data path so all you need
  to do is:
  obs_module_file("file.ext")

- int obs_load_module(const char *name);

  Changed to: int obs_open_module(obs_module_t *module,
                                  const char *path,
                                  const char *data_path);
              bool obs_init_module(obs_module_t module);

  Change the module loading API so that if the front-end chooses, it can
  load modules directly from a specified path, and associate a data
  directory with it on the spot.

  The module will not be initialized immediately; obs_init_module must
  be called on the module pointer in order to fully initialize the
  module.  This is done so a module can be disabled by the front-end if
  the it so chooses.

New API:
- void obs_add_module_path(const char *bin, const char *data);

  These functions allow you to specify new module search paths to add,
  and allow you to search through them, or optionally just load all
  modules from them.  If the string %module% is included, it will
  replace it with the module's name when that string is used as a
  lookup.  Data paths are now directly added to the module's internal
  storage structure, and when obs_find_module_file is used, it will look
  up the pointer to the obs_module structure and get its data directory
  that way.

  Example:
  obs_add_module_path("/opt/obs/my-modules/%module%/bin",
                      "/opt/obs/my-modules/%module%/data");

  This would cause it to additionally look for the binary of a
  hypthetical module named "foo" at /opt/obs/my-modules/foo/bin/foo.so
  (or libfoo.so), and then look for the data in
  /opt/obs/my-modules/foo/data.

  This gives the front-end more flexibility for handling third-party
  plugin modules, or handling all plugin modules in a custom way.

- void obs_find_modules(obs_find_module_callback_t callback, void
                        *param);

  This searches the existing paths for modules and calls the callback
  function when any are found.  Useful for plugin management and custom
  handling of the paths by the front-end if desired.

- void obs_load_all_modules(void);

  Search through the paths and both loads and initializes all modules
  automatically without custom handling.

- void obs_enum_modules(obs_enum_module_callback_t callback,
                        void *param);

  Enumerates currently opened modules.
2014-07-27 17:29:10 -07:00
..
data Instruct translators where to go to translate 2014-07-27 01:47:59 -07:00
forms Add basic update checking 2014-07-14 03:19:24 -07:00
CMakeLists.txt Add support for build time dependency copying 2014-07-19 01:38:42 +02:00
display-helpers.hpp Ensure sizes passed to OBS are actual pixel sizes 2014-04-16 22:39:05 +02:00
obs-app.cpp Make application quit on main window close 2014-07-23 00:02:13 -07:00
obs-app.hpp Make application quit on main window close 2014-07-23 00:02:13 -07:00
platform-osx.mm Move config values from the commandline to obsconfig.h 2014-07-26 14:07:14 +02:00
platform-windows.cpp Move config values from the commandline to obsconfig.h 2014-07-26 14:07:14 +02:00
platform-x11.cpp Move config values from the commandline to obsconfig.h 2014-07-26 14:07:14 +02:00
platform.hpp Add platform specific locale priority enumeration 2014-07-13 19:10:39 +02:00
properties-view.cpp Add OBS_TEXT_MULTILINE for text obs properties 2014-07-21 04:31:19 +02:00
properties-view.hpp Add color property implementation 2014-07-21 04:31:19 +02:00
qt-display.hpp Mark method as override 2014-01-25 07:23:57 +01:00
qt-wrappers.cpp Adjust OBSErrorBox severity 2014-07-13 15:23:26 +02:00
qt-wrappers.hpp Use only one widget for preview 2014-03-07 10:19:03 -07:00
volume-control.cpp Workaround for audio meter widget getting stuck 2014-07-23 19:56:36 +03:00
volume-control.hpp Workaround for audio meter widget getting stuck 2014-07-23 19:56:36 +03:00
window-basic-main.cpp (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
window-basic-main.hpp Minor refactor for creation of sub-windows 2014-07-23 17:46:17 +02:00
window-basic-preview.cpp Fix scene editing for device pixel ratios ≠ 1 2014-07-16 02:29:13 +02:00
window-basic-preview.hpp UI: Add scene editing 2014-06-15 20:33:13 -07:00
window-basic-properties.cpp Minor refactor for creation of sub-windows 2014-07-23 17:46:17 +02:00
window-basic-properties.hpp Fix crash when closing windows via the X title bar button 2014-04-17 17:20:00 +02:00
window-basic-settings.cpp Show current locale in basic settings dialog 2014-07-13 19:10:39 +02:00
window-basic-settings.hpp Use locale (name) enumeration helper in basic settings window 2014-07-13 19:10:39 +02:00
window-basic-source-select.cpp Remove 'locale' parameter from all callbacks 2014-06-25 12:36:26 -07:00
window-basic-source-select.hpp Add 'source selection' dialog 2014-05-10 18:47:48 -07:00
window-basic-status-bar.cpp Change "kbp/s" to "kb/s" 2014-07-07 22:06:06 -07:00
window-basic-status-bar.hpp Implement status bar 2014-07-06 17:36:46 -07:00
window-basic-transform.cpp Minor refactor for creation of sub-windows 2014-07-23 17:46:17 +02:00
window-basic-transform.hpp UI: Add scene editing 2014-06-15 20:33:13 -07:00
window-license-agreement.cpp Add license agreement dialog 2014-07-13 11:40:47 -07:00
window-license-agreement.hpp Add license agreement dialog 2014-07-13 11:40:47 -07:00
window-log-reply.cpp Add help menu with log file uploading 2014-05-18 17:44:10 -07:00
window-log-reply.hpp Add help menu with log file uploading 2014-05-18 17:44:10 -07:00
window-main.hpp Move basic mode configuration to a separate file 2014-03-06 21:08:12 -07:00
window-namedialog.cpp Auto suggest scene and source names. 2014-05-12 15:01:51 -04:00
window-namedialog.hpp Auto suggest scene and source names. 2014-05-12 15:01:51 -04:00