?? engine.h
字號:
// 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -