ebflashplayer.h

来自「基于minigui开发的一套图形控件系统」· C头文件 代码 · 共 66 行

H
66
字号
///////////////////////////////////////////////////////////////////////////////
// $Id: ebflashplayer.h,v 1.1.1.1 2005/01/18 11:47:59 tangjb Exp $
//
// ebflashplayer.c: the flashplayer Control module.
//
// Copyright (C) 2004 Sheng Runze.
//
// Current maitainer: Sheng Runze.
//
// Create date: 2004/04/31
//
// Modify records:
//
///////////////////////////////////////////////////////////////////////////////
//  Who             When        Where       For What                Status
//-----------------------------------------------------------------------------
//  Sheng Runze    2004/04/31   tcl    	   	create                  create
//

#ifndef GUI_EBFLASHPLAYER_H
#define GUI_EBFLASHPLAYER_H
#include <pthread.h>
#include <semaphore.h>

#ifdef  __cplusplus
extern  "C" {
#endif

// 读取文件方法

typedef enum
{
	SWFReadByFile = 0,
	SWFReadByBuffer
}SWFREADFILETYPE;

typedef struct tagFLASHPLAYERDATA2
{
	int                id; // 控件ID
	struct FlashInfo   nflashInfo; // swf 文件信息
	FlashHandle        flashHandle; // swf flash 播放句柄
	int                timer_counter; // 定时器
	unsigned long      nLastTick;
	int                skip;
	DWORD              data; //CTRLDATA->dwAddData | GetWindowAdditionalData
	int                CreateOK;
	int                IsPause;
	char               strURL[512];
	pthread_t   	   thread;
	int		   bthreadok;	
	sem_t		   sem_start;
	int 		   brefresh;
}FLASHPLAYERDATA2;
typedef FLASHPLAYERDATA2* PFLASHPLAYERDATA2;


BOOL RegisterEBFlashplayerControl (void);
void EBFlashplayerControlCleanup (void);


#ifdef __cplusplus
}
#endif  /* __cplusplus */

#endif  /* GUI_EBFLASHPLAYER_H */

⌨️ 快捷键说明

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