⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simpleex_ui.cpp

📁 Developing.Software.for.Symbian.OS 书籍配套源码
💻 CPP
字号:

/*===========================================================
    File: simpleEx_ui.cpp

    Contains the application UI class for network example.
============================================================*/


#include "SimpleEx.h"


void CSimpleExAppUi::ConstructL()
    {
    BaseConstructL();
	

    iAppView = CSimpleExAppView::NewL(ClientRect());
    iWeather = CWeatherInfo::NewL();
    }


CSimpleExAppUi::~CSimpleExAppUi()
    {
    if (iAppView)
        {
        delete iAppView;
        iAppView = NULL;
        }
    delete iWeather;
    }

void CSimpleExAppUi::HandleCommandL(TInt aCommand)
    {
    switch(aCommand)
        {
        case EEikCmdExit:
            Exit();
            break;

        case ESimpleExCommand:
            {
            

            iEikonEnv->AlertWin(_L("Start Selected!"));
            }
            break;
        case ESimpleExTemperatureCommand:
        
         /* Display the temperature in Austin, TX */
            
          iWeather->GetTemperatureL(_L("AUS"));
         
          break;
       

    }
    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -