📄 mymotiondetectcamdocument.cpp
字号:
/*
============================================================================
Name : CMyMotionDetectCamDocument from MyMotionDetectCamDocument.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 : CMyMotionDetectCamDocument implementation
============================================================================
*/
#include <s32strm.h>
#include <QikApplication.h>
#include "MyMotionDetectCamDocument.h"
#include "MyMotionDetectCamAppUi.h"
#include "MyMotionDetectCamGlobals.h"
/**
Creates and constructs the document. This is called by
CMyMotionDetectCamApplication::CreateDocumentL() which in turn is called by the
UI framework.
*/
CMyMotionDetectCamDocument* CMyMotionDetectCamDocument::NewL(CQikApplication& aApp)
{
CMyMotionDetectCamDocument* self = new (ELeave) CMyMotionDetectCamDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop(self);
return self;
}
/**
The constructor of the document class just passes the
supplied reference to the constructor initialization list.
*/
CMyMotionDetectCamDocument::CMyMotionDetectCamDocument(CQikApplication& aApp) :
CQikDocument(aApp)
{
}
/**
2nd stage construction of the model.
All code that shall be called in initializing phase and might leave shall be
added here.
*/
void CMyMotionDetectCamDocument::ConstructL()
{
}
/**
This is called by the UI framework as soon as the document has been created.
It creates an instance of the ApplicationUI. The Application UI class is an
instance of a CEikAppUi derived class.
*/
CEikAppUi* CMyMotionDetectCamDocument::CreateAppUiL()
{
return new (ELeave) CMyMotionDetectCamAppUi;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -