aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/locales/api_localesi.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Wasabi/api/locales/api_localesi.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/Wasabi/api/locales/api_localesi.h')
-rw-r--r--Src/Wasabi/api/locales/api_localesi.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Src/Wasabi/api/locales/api_localesi.h b/Src/Wasabi/api/locales/api_localesi.h
new file mode 100644
index 00000000..eea3ac62
--- /dev/null
+++ b/Src/Wasabi/api/locales/api_localesi.h
@@ -0,0 +1,23 @@
+#ifndef __API_LOCALESI_IMPL_H
+#define __API_LOCALESI_IMPL_H
+
+/*<?<autoheader/>*/
+#include "api_locales.h"
+#include "api_localesx.h"
+/*?>*/
+
+class api_localesI : public api_localesX
+{
+public:
+ api_localesI();
+ virtual ~api_localesI();
+
+ DISPATCH(10) const wchar_t *locales_getTranslation(const wchar_t *str); // if not found, returns the str paramer
+ DISPATCH(20) void locales_addTranslation(const wchar_t *from, const wchar_t *to);
+ DISPATCH(30) const wchar_t *locales_getBindFromAction(int action);
+ //DISPATCH(40) int locales_getNumEntries();
+ //DISPATCH(50) const wchar_t *locales_enumEntry(int n);
+ DISPATCH(60) void locales_registerAcceleratorSection(const wchar_t *name, ifc_window *wnd, int global = 0);
+};
+
+#endif // __API_LOCALESI_IMPL_H \ No newline at end of file