📄 mymotiondetectcam.rss
字号:
/*
============================================================================
Name : MyMotionDetectCam.rss
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 : This file contains all the resources for the MyMotionDetectCam.
============================================================================
*/
#include <eikon.rh>
#include <eikon.rsg>
#include <qikon.rh>
#include <qikon.hrh>
#include <uikon.rh>
#include <uikon.hrh>
#include <QikCommand.rh>
#include "MyMotionDetectCam.hrh" // Application specific commands
// Strings that should be localised should not be defined in the resource file itself,
// but in separate files with the extension .rls.
#include "MyMotionDetectCam.rls" // Defines localisable strings
// Use this statement to ensure that the resources in the file have a unique ID
// so that an application can use multiple resource files without resource ID
// conflict. This statement must be the first non-comment statement in the file.
NAME MYMO
// The three following resources are mandatory fields and need to be the
// first resource fields in the resource file. Need to be defined in this order.
// These resources don't need to contain any useful info, just need to be there.
// RSS_SIGNATURE can be used to specify version information
RESOURCE RSS_SIGNATURE { }
// Defines the name of the default file the application framework creates.
// This resource must always be the second resource in the resource file.
RESOURCE TBUF { buf = "MyMotionDetectCam"; }
// This resource is NOT used by UIQ.
// Otherwise this resources is used to define an application's GUI.
RESOURCE EIK_APP_INFO { }
//----------------------------------------------------
//-------------- CONFIGURATION FOR VIEW --------------
//----------------------------------------------------
// A view shall use the QIK_VIEW_CONFIGURATIONS resource struct to define which
// UI configurations it supports. Can also use QIK_VIEW_CONFIGURATIONS to setup
// the view to switch layout and command list automatically when changes of UI
// configuration occur. This is done with the view and command_list members of
// the QIK_VIEW_CONFIGURATIONS.
// The application supports the reference UI Configurations that are supported
// in the UIQ 3 SDK. Use the UiqEnv tool, to change the UI Configuration in the
// emulator in order to develop and test the application with varying phone styles.
RESOURCE QIK_VIEW_CONFIGURATIONS r_ui_configurations
{
configurations =
{
QIK_VIEW_CONFIGURATION
{
ui_config_mode = KQikPenStyleTouchPortrait;
command_list = r_MyMotionDetectCam_commands;
view = r_MyMotionDetectCam_layout;
},
QIK_VIEW_CONFIGURATION
{
ui_config_mode = KQikPenStyleTouchLandscape;
command_list = r_MyMotionDetectCam_commands;
view = r_MyMotionDetectCam_layout;
},
QIK_VIEW_CONFIGURATION
{
ui_config_mode = KQikSoftkeyStyleTouchPortrait;
command_list = r_MyMotionDetectCam_commands;
view = r_MyMotionDetectCam_layout;
},
QIK_VIEW_CONFIGURATION
{
ui_config_mode = KQikSoftkeyStylePortrait;
command_list = r_MyMotionDetectCam_commands;
view = r_MyMotionDetectCam_layout;
},
QIK_VIEW_CONFIGURATION
{
ui_config_mode = KQikSoftkeyStyleSmallPortrait;
command_list = r_MyMotionDetectCam_commands;
view = r_MyMotionDetectCam_layout;
}
};
}
//----------------------------------------------------
//------------------ VIEW COMMANDS -------------------
//----------------------------------------------------
// Commands are defined with the QIK_COMMAND_LIST struct,
// commands can also be created in code by instantiating CQikCommand.
// The control command id for debug command is a reserved id from uikon.hrh.
// The id for each infoprint command is defined in the MyMotionDetectCam.hrh file.
// The string for each command is defined in the MyMotionDetectCam.rls file,
// due to localisation.
RESOURCE QIK_COMMAND_LIST r_MyMotionDetectCam_commands
{
items =
{
/**
This command shall only be visible in debug mode because it is only
used to find memory leaks during development of the application.
*/
QIK_COMMAND
{
id = EEikCmdExit;
type = EQikCommandTypeScreen;
// Indicate that this command will only be visible in debug
stateFlags = EQikCmdFlagDebugOnly;
text = STRING_r_MyMotionDetectCam_close_debug_cmd;
},
QIK_COMMAND
{
id = EMyMotionDetectCamStartStopCmd;
type = EQikCommandTypeItem;
}
};
}
//----------------------------------------------------
//------------------- VIEW LAYOUT --------------------
//----------------------------------------------------
// Defines the view by linking to the pages.
RESOURCE QIK_VIEW r_MyMotionDetectCam_layout
{
pages = r_MyMotionDetectCam_layout_pages;
}
// Defines the pages of a view.
RESOURCE QIK_VIEW_PAGES r_MyMotionDetectCam_layout_pages
{
pages =
{
QIK_VIEW_PAGE
{
page_id = EMyMotionDetectCamViewPage;
page_content = r_MyMotionDetectCam_page_control;
}
};
}
//----------------------------------------------------
//------------------ VIEW CONTROLS -------------------
//----------------------------------------------------
// Defines the content of the page.
RESOURCE QIK_CONTAINER_SETTINGS r_MyMotionDetectCam_page_control
{
controls =
{
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -