engine.h
来自「Symbian C++ scmp.zip」· C头文件 代码 · 共 35 行
H
35 行
// engine.h
//
// Copyright (c) 2000 Symbian Ltd. All rights reserved.
#ifndef __ENGINE_H
#define __ENGINE_H
#include <e32base.h>
#include <s32std.h>
class CGameEngine : public CBase
{
public:
~CGameEngine();
// interrogate
const TDesC& LastSent() const;
const TDesC& LastReceived() const;
// set - basic state
void Reset(); // resets everything, including blank state, loopback protocol
// set - messages
void SetLastSentL(const TDesC& aString);
void SetLastReceivedL(const TDesC& aString);
// persistence
void ExternalizeL(RWriteStream& aStream) const;
void InternalizeL(RReadStream& aStream);
TStreamId StoreL(CStreamStore& aStore) const;
void RestoreL(const CStreamStore& aStore, TStreamId aStreamId);
private:
// message log
HBufC* iLastSent;
HBufC* iLastReceived;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?