cmdproc_types.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 74 行

H
74
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2005-2006 Videon Central, Inc.                            **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/
/**
 * @file cmdproc_types.h
 *
 * Defines the private data types of the command processor.
 *
 * $Id: cmdproc_types.h,v 1.8 2006/10/25 23:38:48 rbehe Exp $
 */

#ifndef CMDPROC_TYPES_H
#define CMDPROC_TYPES_H

#ifdef __cplusplus
extern "C" {
#endif

#include "vdvd_types.h"
#include "../mvobjdb.h"

/**
 * Command processor states
 */
typedef enum tagCMDPROC_PRGM_STATE
{
    CMDPROC_STATE_INVALID = 0,
    CMDPROC_STATE_TERMINATED,
    CMDPROC_STATE_MOVIE_PROCESSING,
    CMDPROC_STATE_BUTTON_PROCESSING,
    CMDPROC_STATE_WAITING
} CMDPROC_STATE;

/**
 * Command Program
 */
typedef struct tagCMDPROC_CMD_PRGM
{
    MVOBJ_NAV_COMMAND   aCommands[MVOBJ_MAX_NAV_COMMANDS];
    ULONG               ulLength;
    ULONG               ulCurrentCmdID;
} CMDPROC_CMD_PRGM;

/**
 * Private handle definition
 */
typedef struct tagCMDPROC_HANDLE
{
    CMDPROC_STATE           tState;
    BOOLEAN                 fTransitionPending;
    CMDPROC_CMD_PRGM        MoviePrgm;
    CMDPROC_CMD_PRGM        ButtonPrgm;
    PVOID                   pvCmdFunction;
    uint32                  uiNVTimerJumpObj;
    BOOLEAN                 fTitleRepeatOn;
} CMDPROC_HANDLE;

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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