📄 stdafx.h
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__67500974_C3F6_417D_8469_14FEAA986942__INCLUDED_)
#define AFX_STDAFX_H__67500974_C3F6_417D_8469_14FEAA986942__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxcview.h>
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
typedef struct{
unsigned int id;
unsigned int len;
unsigned int offset;
unsigned int crc;
unsigned char name[16];
unsigned char version[16];
unsigned char time[16];
//int type;
//unsigned char reserve[64];
}BLOCK_HEADER;
typedef struct{
unsigned int id;
unsigned int len;
unsigned int offset;
unsigned int addr;
unsigned int upg_flag;
CString name;
}BLOCK_LIST;
#define MAX_BLOCK_NUMBER 16
#define ALL_SERVICES_TYPE 0
#define LNB_INFO_TYPE 1
#define ALL_SAT_INFO_TYPE 2
#define SAT_INFO_TYPE 3
#define TP_INFO_TYPE 4
#define FAVORITE_ROOT_TYPE 5
#define FAVORITE_GROUP_TYPE 6
//#define USERBOX_INFO_TYPE 5
//#define ALL_BLOCKS_INFO_TYPE 6
//#define USER_DB_BLOCK_INFO_TYPE 7
//#define DEFAULT_DB_BLOCK_INFO_TYPE 8
//#define BOOTER_BLOCK_INFO_TYPE 9
//#define TEMP_DATA_BLOCK_INFO_TYPE 10
//typedef struct _SatTPMod
class SatTPMod
{
public:
SatTPMod(){ pProgMapping= NULL; pNameStr = NULL;}
int type;//satellite or tp
int sat_id;
int tp_id;
int offset;
int prog_count; //%brief Total program numbers
int prog_length;
int *pProgMapping;
CString *pNameStr;
SatTPMod *pFatherMod;
HTREEITEM nItemFather;
~SatTPMod()
{
if( pProgMapping)
{
delete []pProgMapping;
pProgMapping= NULL;
}
if( pNameStr )
{
delete pNameStr;
pNameStr = NULL;
}
}
};
typedef struct _ProgMod
{
int mapping_offset;
SatTPMod *pSatTP;
// SatTPMod *pRelation;
}
ProgMod;
typedef struct _cook_node_t
{
char bufsz[64];
char cooksz[64];
}
cook_node_t;
typedef struct{
unsigned int type;
unsigned int index;
unsigned int offset;
}BLOCK_LIST2;
typedef struct _SDX_Map_Table
{
char keysz[64];
int bytes_offset1;
int bytes_count1;
int bytes_offset2;
int bytes_count2;
}
SDX_Map_Table;
typedef struct _combox_t
{
DWORD data;
char bufsz[64];
}
combox_t;
enum OpType{AddNode, EditNode, InsNode};
typedef struct _Sat_Name_Map_Table
{
char Name[20];
char Long[20];
}Sat_Name_Map_Table;
//#define RAPS_NEED_CHANGE_DB //for smart only
#ifdef RAPS_NEED_CHANGE_DB
const CString Version_Editor="Smart AliEditor DB4 1.0.8";
#else
const CString Version_Editor="AliEditor DB4 1.0.8";
#endif
#define DEFAULT_AUDIO_STEREO
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__67500974_C3F6_417D_8469_14FEAA986942__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -