📄 ebflashplayer.h
字号:
///////////////////////////////////////////////////////////////////////////////
// $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -