libtrigger.h

来自「SRI international 发布的OAA框架软件」· C头文件 代码 · 共 52 行

H
52
字号
/****************************************************************************
 *   File    : libtrigger.h
 *   Author  : Adam Cheyer
 *   Updated : 12/99
 *
 *   -------------------------------------------------------------------------
 *   Unpublished-rights reserved under the copyright laws of the United States.
 *
 *      This data and information is proprietary to, and a valuable trade
 *      secret of, SRI International.  It is given in confidence by SRI
 *      International. Its use, duplication, or disclosure is subject to the
 *      restrictions set forth in the License Agreement under which it has
 *      been distributed.
 *
 *   Unpublished Copyright (c) 1993-97, SRI International.
 *   -------------------------------------------------------------------------
 *
 *****************************************************************************/
#ifndef _LIBTRIGGER_H_INCLUDED
#define _LIBTRIGGER_H_INCLUDED

#ifdef __cplusplus
extern "C" {
#endif

#ifdef IS_DLL
#define EXTERN __declspec(dllexport)
#else
#define EXTERN extern
#endif


  EXTERN int oaa_CheckTriggers(char *type, ICLTerm *condition_var, char *op);
  EXTERN int oaa_AddTrigger(char *type, ICLTerm *condition, ICLTerm *action,
                            ICLTerm *initial_params, ICLTerm **out_params);
  EXTERN int oaa_RemoveTrigger(char *type, ICLTerm *condition,
                               ICLTerm *action, ICLTerm *initial_params, 
                               ICLTerm **out_params);

  /* DG : Temporarily put here, should be hidden */

  int oaa_add_trigger_local(char *type, ICLTerm *condition, ICLTerm *action,
                            ICLTerm *params);
  int oaa_remove_trigger_local(char *type, ICLTerm *condition, ICLTerm *action,
                               ICLTerm *params);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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