📄 mymotiondetectcamapplication.cpp
字号:
/*
============================================================================
Name : CMyMotionDetectCamApplication from MyMotionDetectCamApplication.h
Author :
Version :
Copyright :
COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2008.
The software is the copyrighted work of Sony Ericsson Mobile Communications AB.
The use of the software is subject to the terms of the end-user license
agreement which accompanies or is included with the software. The software is
provided "as is" and Sony Ericsson specifically disclaim any warranty or
condition whatsoever regarding merchantability or fitness for a specific
purpose, title or non-infringement. No warranty of any kind is made in
relation to the condition, suitability, availability, accuracy, reliability,
merchantability and/or non-infringement of the software provided herein.
Description : CMyMotionDetectCamApplication implementation
============================================================================
*/
#include <eikstart.h>
#include "MyMotionDetectCamApplication.h"
#include "MyMotionDetectCamDocument.h"
#include "MyMotionDetectCamGlobals.h" // contains the applications UID
/**
The function is called by the UI framework to ask for the
application's UID. The returned value is defined by the
constant KUidMyMotionDetectCamApp and must match the second value
defined in the project definition file.
*/
TUid CMyMotionDetectCamApplication::AppDllUid() const
{
return KUidMyMotionDetectCamApp;
}
/**
This function is called by the UI framework at application start-up.
It creates an instance of the document class.
*/
CApaDocument* CMyMotionDetectCamApplication::CreateDocumentL()
{
return CMyMotionDetectCamDocument::NewL(*this);
}
/**
The function is called by the framework immediately after it has started the
application's EXE. It is called by the framework and is expected to have
exactly this prototype.
@return Instance of the application class.
*/
CApaApplication* NewApplication()
{
return new CMyMotionDetectCamApplication;
}
/**
E32Main() contains the program's start up code, the entry point for an EXE.
*/
GLDEF_C TInt E32Main()
{
return EikStart::RunApplication(NewApplication);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -