📄 instantmessageserver.h
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
// http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////
// InstantMessageServer.h: interface for the CInstantMessageServer class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_INSTANTMESSAGESERVER_H__E69298E0_79CD_11D3_B8DD_00600838CD5F__INCLUDED_)
#define AFX_INSTANTMESSAGESERVER_H__E69298E0_79CD_11D3_B8DD_00600838CD5F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
typedef struct
{
TCHAR tczSenderName[125];
TCHAR tczMessage[512];
COLORREF crBack;
COLORREF crText;
} IMPacketStruct;
class CInstantMessageServer
{
public:
static BOOL PASCAL SendMessage(LPCTSTR czDest, LPCTSTR czMessage,
LPCTSTR czDestName = NULL);
BOOL Stop(BOOL bWait);
BOOL Start();
CInstantMessageServer();
virtual ~CInstantMessageServer();
private:
static UINT PASCAL DriveWork(LPVOID *Param);
protected:
BOOL m_bStayOn;
};
#endif // !defined(AFX_INSTANTMESSAGESERVER_H__E69298E0_79CD_11D3_B8DD_00600838CD5F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -