中国开发网: 论坛: 程序员情感CBD: 贴子 67726
furnace
post my testing code, be happy
//=============================================================================
// CMyMasterServer.h - class declaration for master
// Copyright (C) ,Furnace, xxxx
// Date : 21.12.2004
//=============================================================================

#ifndef MYMASTERSERVER_H
#define MYMASTERSERVER_H
// ----------------------------------------------------------------------------

#include <stdio.h>

//=============================================================================
// CMyMasterServer
//=============================================================================

class CMyMasterServer : virtual public smfMasterBase_c
{
public:
// cstr&dstr
CMyMasterServer();
virtual ~CMyMasterServer();
// ------------------------------------------------------------------------

// the methods from smfMasterBase_c

// the function analyses the incoming message and based on current state
void processMessage(smfMsgBase_c *pMsg);
// function is called when statemachine deactive.
void finalize();
// funciton is called when statemachine is active.
int initInstance();
// ------------------------------------------------------------------------

private:


};

#endif // MYMASTERSERVER_H
I don't mind if you r FAT.
I don't mind if you r UGLY.
I don't mind if you ACT CUTE.
But I can't STAND if you r FAT, UGLY and still ACT CUTE.

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录