?? controller.h
字號:
// controller.h
//
// Copyright (c) 2000 Symbian Ltd. All rights reserved.
//
#ifndef __CONTROLLER_H
#define __CONTROLLER_H
#include <coecntrl.h>
#include <coemain.h>
#include <eikappui.h>
#include <eikapp.h>
#include <eikdoc.h>
#include <gdpchat.rsg>
#include "gdpchat.hrh"
#include <gdp.h>
#include "engine.h"
class CEikonEnv;
class CGameAppView;
// controller
class CGameController : public CBase,
public MGdpPacketHandler
{
public:
// construct/destruct
void ConstructL(CEikAppUi* aAppUi);
~CGameController();
// MGdpPacketHandler stuff
virtual void GdpHandleL(const TDesC8& aFromAddress, const TDesC8& aData);
virtual void SendComplete(TInt aErr);
// app UI commands
void CmdSendMessageL(const TDesC& aString);
public:
CGameAppView* iAppView;
CGameEngine* iGameEngine;
CGdpSession* iGdp;
private:
// cached pointers
CEikAppUi* iAppUi;
CEikonEnv* iEnv;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -