summaryrefslogtreecommitdiff
path: root/include/m_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_options.h')
-rw-r--r--include/m_options.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_options.h b/include/m_options.h
index 0b2112d1aa..b8e0404425 100644
--- a/include/m_options.h
+++ b/include/m_options.h
@@ -82,9 +82,9 @@ struct OPTIONSDIALOGPAGE
#define PSM_GETBOLDFONT (WM_USER+102) //returns HFONT used for group box titles
-EXTERN_C MIR_APP_DLL(int) Options_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE *odp, int = hLangpack);
+EXTERN_C MIR_APP_DLL(int) Options_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE *odp, int langId);
-EXTERN_C MIR_APP_DLL(void) KillModuleOptions(int _hLang);
+EXTERN_C MIR_APP_DLL(void) KillModuleOptions(int langId);
// The behaviour if the options dialog is already open is that it will just be
// activated, the page won't be changed. This may change in the future.
@@ -95,9 +95,9 @@ EXTERN_C MIR_APP_DLL(void) KillModuleOptions(int _hLang);
// Opens the options dialog, optionally at the specified page
// Returns 0 on success, nonzero on failure
-EXTERN_C MIR_APP_DLL(int) Options_Open(const wchar_t *pszGroup, const wchar_t *pszPage = nullptr, const wchar_t *pszTab = nullptr, int = hLangpack);
+EXTERN_C MIR_APP_DLL(int) Options_Open(const wchar_t *pszGroup, const wchar_t *pszPage, const wchar_t *pszTab, int langId);
// Opens the options dialog, with only specified page
-EXTERN_C MIR_APP_DLL(HWND) Options_OpenPage(const wchar_t *pszGroup, const wchar_t *pszPage = nullptr, const wchar_t *pszTab = nullptr, int = hLangpack);
+EXTERN_C MIR_APP_DLL(HWND) Options_OpenPage(const wchar_t *pszGroup, const wchar_t *pszPage, const wchar_t *pszTab, int langId);
#endif //M_OPTIONS_H__