📄 sbjsiinterface.h
字号:
/***************************************************************************** ***************************************************************************** * * $Id: SBjsiInterface.h,v 1.5.8.1 2001/10/03 16:20:52 dmeyer Exp $ * * SBjsiInterface, definition of the real SBjsi resource object * * The SBjsiInterface object defines the SB implementation of a * VXIjsi resource that is used to provide JavaScript services to * a channel/thread. * ***************************************************************************** ****************************************************************************//****************License************************************************ * * Copyright 2000-2001. SpeechWorks International, Inc. * * Use of this software is subject to notices and obligations set forth * in the SpeechWorks Public License - Software Version 1.1 which is * included with this software. * * SpeechWorks is a registered trademark, and SpeechWorks Here, * DialogModules and the SpeechWorks logo are trademarks of SpeechWorks * International, Inc. in the United States and other countries. * ************************************************************************ *//* -----1=0-------2=0-------3=0-------4=0-------5=0-------6=0-------7=0-------8 */#ifndef _SBJSI_INTERFACE_H__#define _SBJSI_INTERFACE_H__#include "VXIjsi.h" /* For VXIjsiInterface and VXIjsiResult codes */#ifdef __cplusplusclass JsiRuntime;extern "C" {#elsetypedef struct JsiRuntime { void * dummy; } JsiRuntime;#endifstruct VXIlogInterface;/* SBjsi interface, "inherits" from VXIjsiInterface */typedef struct SBjsiInterface{ /* Base interface, must be the first member */ VXIjsiInterface jsi; /* Context size in byts for each new context for this resource (currently * shared across the entire process) */ long contextSize; /* Maximum number of JavaScript branches for each JavaScript * evaluation for this resource (currently shared across the entire * process) */ long maxBranches; /* Logging interface for this resource */ VXIlogInterface *log; /* Offset for diagnostic logging */ VXIunsigned diagTagBase; /* JavaScript runtime environment for this resource */ JsiRuntime *jsiRuntime;} SBjsiInterface;#ifdef __cplusplus}#endif#endif /* _SBJSI_INTERFACE_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -