signedappuids.h

来自「《UIQ 3 The Complete Guide》书的源代码」· C头文件 代码 · 共 30 行

H
30
字号
//
// SignedAppUids.h - The UIDs used in the app
//
// 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 __SIGNEDAPPUIDS_H__
#define __SIGNEDAPPUIDS_H__

//////////////////////////////////////////////////////////////////////////////
// The application Uid here MUST match UID3 defined in the MMP file 
// This is UIQ is allocated by Symbian Signed and cannot be re-used in other projects
const TUid KAppSpecificUid={0x20000462};

// internal secondary id, must be unique amongst this applications views
// Since our application wants to support flip closed on P990 devices we must have
// a view with UID value '1' as that is what we defined in the Loc file. 
const TUid KUidListView={0x00000001};
const TUid KUidDetailsView={0x00000002};

// views within applications are fully identified by the app Uid and secondary view id
#define KViewIdListView TVwsViewId(KAppSpecificUid,KUidListView)
#define KViewIdDetailsView TVwsViewId(KAppSpecificUid,KUidDetailsView)

#endif // __SIGNEDAPPUIDS_H__

⌨️ 快捷键说明

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