📄 cmobject.h
字号:
#ifndef __Sync_Object_H
#define __Sync_Object_H
#pragma warning( disable : 4290 )
#pragma warning( disable : 4291 )
#include <Windows.h>
#include <TChar.h>
#include <Matrixcore/System/CMSynchronized.h>
namespace MatrixCore
{
namespace System
{
#ifdef _DEBUG
#define DebugAssert( exp ) { if( exp == false ) __asm int 3 }
#else
#define DebugAssert( exp ) { exp; }
#endif
class CMObject
{
friend CMSynchronized;
public:
CMObject();
virtual ~CMObject();
bool equals( CMObject* obj );
private:
CRITICAL_SECTION cs;
};
}
}
using namespace MatrixCore::System;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -