longtapdetectorapplication.cpp
来自「该程序用于检测手机中的LongTap事件并对该事件进行处理」· C++ 代码 · 共 40 行
CPP
40 行
/*
============================================================================
Name : LongTapDetectorApplication.cpp
Author : Kiran
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include "LongTapDetector.hrh"
#include "LongTapDetectorDocument.h"
#include "LongTapDetectorApplication.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CLongTapDetectorApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CLongTapDetectorApplication::CreateDocumentL()
{
// Create an LongTapDetector document, and return a pointer to it
return CLongTapDetectorDocument::NewL(*this);
}
// -----------------------------------------------------------------------------
// CLongTapDetectorApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CLongTapDetectorApplication::AppDllUid() const
{
// Return the UID for the LongTapDetector application
return KUidLongTapDetectorApp;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?