⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bluejackx.rss

📁 symbian平台蓝牙程序,功能实现:搜索设备,指定时间间隔搜索,对指定的设备发送信息,也可指定时间间隔发送,日志操作,可通过mms,红外,蓝牙发送日志等
💻 RSS
字号:
/*
* ============================================================================
*  Name     : BlueJackX.rss
*  Part of  : BlueJackX
*  Created  : 25.01.2004 by 
*  Description:
*     This file contains all the resources for the BlueJackX.
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "bluejackx.hrh"
#include "bluejackx.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>



//  CONSTANTS  
//#define ?constant   ?value


//  MACROS  
//#define ?macro



#define qtn_aknexquery_data_list_text1   "TEXT INPUT 1"





//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="BlueJackX"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys=r_bluejackx_hotkeys;
    menubar=r_bluejackx_menubar;
    cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;     
    }

//----------------------------------------------------
//   
//    r_bluejackx_hotkeys
//    ?description
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_bluejackx_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_bluejackx_menubar
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_bluejackx_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_bluejackx_menu; txt="File"; }
        };
    }

//----------------------------------------------------
//   
//    r_bluejackx_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_bluejackx_menu
    {
    items=
        {
		MENU_ITEM { command=EBlueJackDeviceCount; txt="Count Devices"; },
        MENU_ITEM { command=EBlueJackScanning; cascade = r_Scannen_sub; txt="Scanning"; },
		MENU_ITEM { command=EBlueJackBlueJacking; cascade = r_bluejack_sub; txt="Bluejacking"; },
		MENU_ITEM { command=EBlueJackLogging; cascade = r_logging_sub; txt="Logging"; },

		MENU_ITEM { command=EBlueJackDirektMSG;txt="Direkt Message"; },

		MENU_ITEM { command=EBlueJackINFO; txt="Info"; },
		MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }

//----------------------------------------------------
//   
//    r_bluejackx_app_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_bluejackx_app_menu
    {
    items=
        {
		MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
        };
    }


// ------------- unter men黶 ------------------------------------


RESOURCE MENU_PANE r_Scannen_sub
{
	items =
	{
		MENU_ITEM{command = EBlueJackStartScanning;txt = "start";},
		MENU_ITEM{command = EBlueJackStopScanning;txt = "stop";},
		MENU_ITEM{command = EBlueJackInterval;txt = "interval";}
	};
}

RESOURCE MENU_PANE r_bluejack_sub
{
	items =
	{
		MENU_ITEM{command = EBlueJackStartJacking;txt = "start";},
		MENU_ITEM{command = EBlueJackStopJacking;txt = "stop";},
		MENU_ITEM{command = EBlueJackMessage;txt = "message";},
		MENU_ITEM{command = EBlueJackInterval;txt = "interval";}
	};
}

RESOURCE MENU_PANE r_logging_sub
{
	items =
	{
		MENU_ITEM{command = EBlueJackLogging_load;txt = "load";},
		MENU_ITEM{command = EBlueJackLogging_save;txt = "save";},
		MENU_ITEM{command = EBlueJackLogging_clear;txt = "clear List";},
		MENU_ITEM{command = EBlueJackLogging_dellog;txt = "delete log";}
	};
}



RESOURCE DIALOG r_aknexquery_data_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_aknexquery_data_label_text;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    width = 5;
                    maxlength = 128;
                    max_view_height_in_lines = 5; 
                    base_line_delta = 21; 
                    };
                };
            }
        };
    }

RESOURCE TBUF16 r_aknexquery_outline1
    {
    buf = "TEXT INPUT 1";
    }


RESOURCE DIALOG r_aknexquery_number_layout
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = ENumberLayout;
                label = qtn_aknexquery_num_label_text;
                control = AVKON_INTEGER_EDWIN
                    {
                    min = 30;
                    max = 600;
                    };
                };
            }
        };
    }


RESOURCE DIALOG r_port
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = ENumberLayout;
                label = qtn_aknexquery_num_label_text;
                control = AVKON_INTEGER_EDWIN
                    {
                    min = 0;
                    max = 50;
                    };
                };
            }
        };
    }


RESOURCE DIALOG r_about
{
	flags = EGeneralQueryFlags; 
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
	items =
		{
			DLG_LINE 
			{
				type = EAknCtPopupHeadingPane;
				id = EAknMessageQueryHeaderId;
				control = AVKON_HEADING
			{
		};
		},

			DLG_LINE
			{
				type = EAknCtMessageQuery;
				id = EAknMessageQueryContentId;
				control = AVKON_MESSAGE_QUERY
				{ 
					message = "Test";
				}; 
			}
		};
} 
// End of File

⌨️ 快捷键说明

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