Commits on Source (7)
-
The functions will be used to fetch from the internal categories and subcategories arrays, and replace the manual lookup into the table, so as to render the vlc_config_*cat_IndexOf functions obsolete.
8ecf5b33 -
Use the new vlc_config_*cat_Find() functions to look into the categories and subcategories tables.
176a8133 -
8ecb2d01
-
vlc_config_cat_IndexOf will disappear in the next commits, so use the new get/count/lookup functions instead.
f7afe552 -
The previous map was based on the number of categories exposed, but this will not be available anymore. Instead, exposed a enum -> value map that will increase when we lookup the categories.
c9a0078e -
The categories_array will become unavailable for the modules in the next commit, so use the helpers instead.
6b492e7d -
Those tables were defined in every different target including them, and meant that including vlc_config_cat.h exposed non-namespaced categories_array and subcategories_array variables. Instead, expose functions to count, fetch and lookup.
d3898bdd
Showing
- include/vlc_config_cat.h 41 additions, 94 deletionsinclude/vlc_config_cat.h
- modules/gui/macosx/preferences/prefs.m 2 additions, 2 deletionsmodules/gui/macosx/preferences/prefs.m
- modules/gui/qt/dialogs/preferences/complete_preferences.cpp 14 additions, 12 deletionsmodules/gui/qt/dialogs/preferences/complete_preferences.cpp
- modules/gui/qt/dialogs/preferences/complete_preferences.hpp 4 additions, 2 deletionsmodules/gui/qt/dialogs/preferences/complete_preferences.hpp
- src/Makefile.am 1 addition, 0 deletionssrc/Makefile.am
- src/config/cat.c 135 additions, 0 deletionssrc/config/cat.c
- src/libvlccore.sym 6 additions, 0 deletionssrc/libvlccore.sym
- src/meson.build 1 addition, 0 deletionssrc/meson.build
src/config/cat.c
0 → 100644