diff options
Diffstat (limited to 'include/m_genmenu.h')
-rw-r--r-- | include/m_genmenu.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index 20ca70b020..2ea11b239b 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -50,6 +50,17 @@ struct TMO_MenuItem int hLangpack;
};
+#ifdef __cplusplus
+struct CMenuItem : public TMO_MenuItem
+{
+ CMenuItem()
+ {
+ memset(this, 0, sizeof(CMenuItem));
+ this->hLangpack = ::hLangpack;
+ }
+};
+#endif
+
/*
This structure passed to CheckService.
*/
|