?? msgcenter.h
字號:
// MsgCenter.h: interface for the CMsgCenter class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MSGCENTER_H__BE963058_3748_490F_A82E_5AA6013BE5D3__INCLUDED_)
#define AFX_MSGCENTER_H__BE963058_3748_490F_A82E_5AA6013BE5D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#include "GlobalClass.h"
#include "Msg.h"
#include "Node.h"
#include "Sink.h"
class CNodeStrain
{
public:
CNode *pNode;
CNodeStrain *pNext;
public:
CNodeStrain() {pNode=NULL;pNext=NULL;}
~CNodeStrain(){}
};
class CMsgCenter
{
public:
CNodeStrain * **pNodeStrain;
CRITICAL_SECTION **Locked;
public:
void DeleteSinkStrain(CSink *pSink);
void DeleteNodeStrain(CNode *pNode);
void PrintAreaNode(int Ax,int Ay);
void InsertNodeStrain(CNode *pNode,int Ax,int Ay);
void InsertNodeStrain(CNode *pNode,CPosition Area);
void SendMsg(CMsg *pMsg,int NodeId=0);
void SendMsg(int Dx,int Dy,int Sx,int Sy,int Type,unsigned char *Data=NULL,int NodeId=0);
CMsgCenter();
virtual ~CMsgCenter();
};
#endif // !defined(AFX_MSGCENTER_H__BE963058_3748_490F_A82E_5AA6013BE5D3__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -