📄 bluetoothengine_extensibleplugin.rss
字号:
// ====================================================================
// File: BluetoothEngine_ExtensiblePlugIn.rss
// Created: 08/22/07
// Author:
// Copyright (c): , All rights reserved
// ==================================================================== */
NAME HELL
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include "BluetoothEngine_ExtensiblePlugIn.hrh"
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_BluetoothEngine_ExtensiblePlugIn_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_BluetoothEngine_ExtensiblePlugIn_menubar
// Menubar for BluetoothEngine_ExtensiblePlugIn example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_BluetoothEngine_ExtensiblePlugIn_menubar
{
titles =
{
MENU_TITLE {menu_pane = r_BluetoothEngine_ExtensiblePlugIn_menu;}
};
}
// ---------------------------------------------------------
//
// r_BluetoothEngine_ExtensiblePlugIn_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_BluetoothEngine_ExtensiblePlugIn_menu
{
items =
{
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand1; txt = "Get All Settings";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand2; txt = "Local BT Name";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand3; txt = "Set Local BT Name";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand4; txt = "Discoverability Md";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand5; cascade = r_discoverability_mode ; txt = "Set Disc Mode";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand6; txt = "Search Md";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand7; cascade = r_search_mode ; txt = "Set Search Mode";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand8; txt = "Power State";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand9; cascade = r_power_mode; txt = "Set Power State";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand10; txt = "Get BTSap State";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand11; cascade = r_sap_mode ; txt = "Set BTSap State";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand12; txt = "Paired Devices List";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand13; txt = "Add Device to Registry";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand14; cascade = r_device_registry ; txt = "Device Frm Registry";},
MENU_ITEM {command = EBluetoothEngine_ExtensiblePlugInCommand15; txt = "Set Devices Security";},
MENU_ITEM {command = EAknSoftkeyExit; txt = "Exit";}
};
}
RESOURCE MENU_PANE r_discoverability_mode
{
items =
{
MENU_ITEM {command = EBTDiscHidden; txt = "Hidden";},
MENU_ITEM {command = EBTDiscGeneral; txt = "General";},
MENU_ITEM {command = EBTDiscTemp; txt = "Temporary";}
};
}
RESOURCE MENU_PANE r_search_mode
{
items =
{
MENU_ITEM {command = EBTSearchGeneral; txt = "General";},
MENU_ITEM {command = EBTSearchLimit; txt = "Limited";}
};
}
RESOURCE MENU_PANE r_power_mode
{
items =
{
MENU_ITEM {command = EBTPowerOn; txt = "On";},
MENU_ITEM {command = EBTPowerOff; txt = "Off";}
};
}
RESOURCE MENU_PANE r_sap_mode
{
items =
{
MENU_ITEM {command = EBTSapEnable; txt = "Enable";},
MENU_ITEM {command = EBTSapDisable; txt = "Disable";}
};
}
RESOURCE MENU_PANE r_device_registry
{
items =
{
MENU_ITEM {command = EBTGetDevice; txt = "Current";},
MENU_ITEM {command = EBTGetDevices; txt = "All";},
MENU_ITEM {command = EBTDeleteDevice; txt = "Del Curr";},
MENU_ITEM {command = EBTModifyDevice; txt = "Modify";}
};
}
RESOURCE DIALOG r_data_query_dialog
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = "Enter BTDevice Name";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 5;
lines = 5;
maxlength = 128;
};
};
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -