⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 samplelocales_mod.c

📁 BREW应用程序界面开发的控件集
💻 C
字号:
/*===========================================================================
  || examplelocales specific xModule stuff
  ===========================================================================*/
#include "AEEStdLib.h"
#include "AEEShell.h"           /* Shell interface definitions */

#include "aeeclsid_localedede.bid"
#include "aeeclsid_localeengb.bid"

// extern declarations of the NEW routines supported by this module.
// In this sample extension, ENGB and DEDE locales are implemented.
// Their create routines are declared here and called below.
extern int xModule_LocaleENGBCreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp);
extern int xModule_LocaleDEDECreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp);

int xModule_CreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp)
{
   if (idClass == AEECLSID_LOCALEENGB)
      return xModule_LocaleENGBCreateInstance(module, shell, idClass, pp);
   else if (idClass == AEECLSID_LOCALEDEDE)
      return xModule_LocaleDEDECreateInstance(module, shell, idClass, pp);

   return (ECLASSNOTSUPPORT);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -