www.pudn.com > Bluetooth_PMP_Example_v1_0.zip > BluetoothPMPExample.rss


/* 
* ============================================================================ 
*  Name     : BluetoothPMPExample.rss 
*  Part of  : BluetoothPMPExample  
*  Created  : 14.01.2004 by Forum Nokia 
*  Description: 
*     This file contains all the resources for the BluetoothPMPExample. 
*     Initial content was generated by Series 60 AppWizard. 
*  Version  : 
*  Copyright: Nokia Corporation  
* ============================================================================ 
*/ 
 
//  RESOURCE IDENTIFIER 
NAME    AWIZ // 4 letter ID 
 
//  INCLUDES 
 
#include  
#include "bluetoothpmpexample.hrh" 
#include "bluetoothpmpexample.loc" 
#include  
#include  
#include  
 
 
//  RESOURCE DEFINITIONS  
 
RESOURCE RSS_SIGNATURE { } 
 
RESOURCE TBUF { buf="BluetoothPMPExample"; } 
 
RESOURCE EIK_APP_INFO 
    { 
    hotkeys=r_bluetoothpmpexample_hotkeys; 
    menubar=r_bluetoothpmpexample_menubar; 
    cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;      
    } 
 
//---------------------------------------------------- 
//    
//    r_bluetoothpmpexample_hotkeys 
// 
//---------------------------------------------------- 
// 
RESOURCE HOTKEYS r_bluetoothpmpexample_hotkeys 
    { 
    control= 
        { 
        HOTKEY { command=EAknCmdExit; key='e'; } 
        }; 
    } 
 
//---------------------------------------------------- 
//    
//    r_bluetoothpmpexample_menubar 
// 
//---------------------------------------------------- 
// 
RESOURCE MENU_BAR r_bluetoothpmpexample_menubar 
    { 
    titles= 
        { 
        MENU_TITLE { menu_pane=r_bluetoothpmpexample_menu; txt="Cmds"; } 
        }; 
    } 
 
//---------------------------------------------------- 
//    
//    r_bluetoothpmpexample_menu 
// 
//---------------------------------------------------- 
// 
RESOURCE MENU_PANE r_bluetoothpmpexample_menu 
    { 
    items= 
        { 
        MENU_ITEM { command=EBTCmdSendMessage; txt="Send message"; }, 
        MENU_ITEM { command=EBTCmdStartSlave; txt="Start Slave"; }, 
        MENU_ITEM { command=EBTCmdDiscoverDevices; txt="Discover devices"; }, 
        MENU_ITEM { command=EBTCmdDiscoverServices; txt="Discover services"; }, 
        MENU_ITEM { command=EBTCmdConnectDevices; txt="Connect devices"; }, 
        MENU_ITEM { command=EBTCmdShowConnectedDevices; txt="Show connected"; }, 
        MENU_ITEM { command=EAknCmdExit; txt="Exit"; } 
        }; 
    } 
 
 
 
//---------------------------------------------------- 
//    
//    r_bluetoothpmpexample_messageinput 
// 
//---------------------------------------------------- 
// 
RESOURCE DIALOG r_bluetoothexample_messageinput 
    { 
    flags = EGeneralQueryFlags; 
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL; 
    items = 
        { 
        DLG_LINE 
            { 
            type = EAknCtQuery; 
            id = EGeneralQuery; 
            control = AVKON_DATA_QUERY 
                { 
                layout = EDataLayout; 
                label = qtn_bt_message_input_text; 
                control = EDWIN 
                    { 
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
                    //max_view_height_in_lines = CMC_EDWIN_LINES;  
                    // if you have the line above, you must have this.  
                    // It's calculable from LAF 
                    base_line_delta = 21;  
                    }; 
                }; 
            } 
        }; 
    } 
 
 
             
// End of File