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

📄 detailsview.h

📁 《UIQ 3 The Complete Guide》书的源代码
💻 H
字号:
//
// DetailsView.h - Displays the details of an entry
//
// Copyright (C) UIQ Technology AB, 2007
//
// This material is provided "as is" without any warranty to its performance or functionality. 
// In no event shall UIQ Technology be liable for any damages whatsoever arising out of the
// use or inabilty to use this material. 
//

#ifndef __DETAILSVIEW_H__
#define __DETAILSVIEW_H__

// these pragmas stop the compiler complaining that params to functions not being used in body
#ifdef __CW32__
#pragma warn_unusedarg off
#endif // __CW32__
#pragma warning(disable : 4100)

#include <qikappui.h>
#include <QikViewBase.h>
#include "Engine.h"
#include "SignedAppUids.h"

/////////////////////////////////////////////////////////////////////////////////////////////
class CDetailsView : public CQikViewBase, public MDesCArray
	{
protected: 
	// from CQikViewBase
	TVwsViewId ViewId() const;
	void HandleCommandL(CQikCommand& aCommand);
	void ViewConstructL();
	void ViewDeactivated();
	void ViewActivatedL(const TVwsViewId& aPrevViewId,const TUid aCustomMessageId,const TDesC8& aCustomMessage);
	void SaveL();
	
	// from MDesCArray
	TInt MdcaCount() const;
	TPtrC MdcaPoint(TInt aIndex) const;

	// new methods
	TBool DetailsHaveChanged();
public:
	// new methods
	CDetailsView(CQikAppUi& aAppUi,CAppEngine* aEngine);
	
protected:
	CAppEngine* iEngine;
	};

#endif // __DETAILSVIEW_H__

⌨️ 快捷键说明

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