📄 btpointtopoint.rss
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
NAME BTPO
// INCLUDE FILES
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include "BTPointToPoint.hrh"
#include "BTPointToPoint.loc"
// ----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }
// ----------------------------------------------------------------------------
//
// Default Document Name
//
// ----------------------------------------------------------------------------
//
RESOURCE TBUF { buf=""; }
// ----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// ----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_btpointtopoint_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ----------------------------------------------------------------------------
//
// r_btpointtopoint_menubar
// Menubar for BTPointToPoint example
//
// ----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_btpointtopoint_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_btpointtopoint_menu; }
};
}
// ----------------------------------------------------------------------------
//
// r_btpointtopoint_menu
// Menu for "Options"
//
// ----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_btpointtopoint_menu
{
items =
{
MENU_ITEM
{
command = EBTPointToPointStartReceiver;
txt = qtn_btpo_start_server;
},
MENU_ITEM
{
command = EBTPointToPointStopReceiver;
txt = qtn_btpo_stop_server;
},
MENU_ITEM
{
command = EBTPointToPointConnect;
txt = qtn_btpo_connect;
},
MENU_ITEM
{
command = EBTPointToPointDisconnect;
txt = qtn_btpo_disconnect;
},
MENU_ITEM
{
command = EBTPointToPointSendMessage;
txt = qtn_btpo_send_message;
},
MENU_ITEM
{
command = EBTPointToPointClearList;
txt = qtn_btpo_clear_list;
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_btpo_softkey_exit;
}
};
}
// ----------------------------------------------------------------------------
//
// Resources for messages.
//
// ----------------------------------------------------------------------------
RESOURCE TBUF r_btpo_service_description
{
buf = qtn_btpo_service_description;
}
RESOURCE TBUF r_btpo_service_name
{
buf = qtn_btpo_service_name;
}
RESOURCE TBUF r_btpo_err_nrrc_no_records
{
buf = qtn_btpo_err_nrrc_no_records;
}
RESOURCE TBUF r_btpo_err_cant_get_attribute
{
buf = qtn_btpo_err_cant_get_attribute;
}
RESOURCE TBUF r_btpo_err_attr_req_com
{
buf = qtn_btpo_err_attr_req_com;
}
RESOURCE TBUF r_btpo_hello_message
{
buf = qtn_btpo_hello_message;
}
RESOURCE TBUF r_btpo_err_no_device_selected
{
buf = qtn_btpo_err_no_device_selected;
}
RESOURCE TBUF r_btpo_err_connection_error
{
buf = qtn_btpo_err_connection_error;
}
RESOURCE TBUF r_btpo_err_lost_connection
{
buf = qtn_btpo_err_lost_connection;
}
RESOURCE TBUF r_btpo_err_message_failed
{
buf = qtn_btpo_err_message_failed;
}
RESOURCE TBUF r_btpo_disconnect_complete
{
buf = qtn_btpo_disconnect_complete;
}
RESOURCE TBUF r_btpo_err_failed_to_disconnect
{
buf = qtn_btpo_err_failed_to_disconnect;
}
RESOURCE TBUF r_btpo_found_service
{
buf = qtn_btpo_found_service;
}
RESOURCE TBUF r_btpo_connected
{
buf = qtn_btpo_connected;
}
RESOURCE TBUF r_btpo_data_received
{
buf = qtn_btpo_data_received;
}
RESOURCE TBUF r_btpo_sent_message
{
buf = qtn_btpo_sent_message;
}
RESOURCE TBUF r_btpo_client_busy
{
buf = qtn_btpo_client_busy;
}
RESOURCE TBUF r_btpo_err_no_conn
{
buf = qtn_btpo_err_no_conn;
}
RESOURCE TBUF r_btpo_str_releasing_conn
{
buf = qtn_btpo_str_releasing_conn;
}
RESOURCE TBUF r_btpo_str_connecting
{
buf = qtn_btpo_str_connecting;
}
RESOURCE TBUF r_btpo_str_disconnected
{
buf = qtn_btpo_str_disconnected;
}
RESOURCE TBUF r_btpo_str_recv_err
{
buf = qtn_btpo_str_recv_err;
}
RESOURCE TBUF r_btpo_str_get_port
{
buf = qtn_btpo_str_get_port;
}
RESOURCE TBUF r_btpo_accept_next_conn
{
buf = qtn_btpo_str_accept_next_conn;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -