📄 wavreaderdll.cpp
字号:
// WavReaderDll.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#define READER_COUNT 1
CKPluginInfo g_piInfo[READER_COUNT];
#define READER_VERSION 0x00000001
#define WAVREADER_GUID CKGUID(0x61abc44f,0xe1233343)
CKPluginInfo* WAVReader::GetReaderInfo()
{
return &g_piInfo[0];
}
#ifdef CK_LIB
CKDataReader *CKGet_WavReader_Reader(int pos)
#else
CKDataReader* CKGetReader(int pos)
#endif
{
return new WAVReader;
}
#ifdef CK_LIB
CKPluginInfo* CKGet_WavReader_PluginInfo(int index)
#else
CKPluginInfo* CKGetPluginInfo(int index)
#endif
{
g_piInfo[0].m_GUID = WAVREADER_GUID;
g_piInfo[0].m_Version = READER_VERSION;
g_piInfo[0].m_Description = "Wav Sound Files";
g_piInfo[0].m_Summary = "Wav reader";
g_piInfo[0].m_Extension = "Wav";
g_piInfo[0].m_Author = "Virtools";
g_piInfo[0].m_InitInstanceFct=NULL; //
g_piInfo[0].m_Type =CKPLUGIN_SOUND_READER; // Plugin Type
return &g_piInfo[0];
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -