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

📄 contacts.rss

📁 基于symbian OS的IP前缀添加器.可以在通话前为电话加一个IP的功能.
💻 RSS
字号:
/* Copyright (c) 2003, Nokia. All rights reserved */

//  RESOURCE IDENTIFIER
NAME    EXDB // 4 letter ID

//  INCLUDES

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


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="Contacts"; }




RESOURCE EIK_APP_INFO
    {
    hotkeys=r_contacts_hotkeys;
    menubar=r_contacts_contacts_menubar;
	//ipmenubar=r_contacts_contacts_enterKeys;
    cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; 
    
    }

//----------------------------------------------------
//   
//    r_contacts_hotkeys
//    The hot keys for Contacts example
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_contacts_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_contacts_contacts_menubar
//    The menu bar for the Contacts example
//	  Show Contacts has been seleted
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_contacts_contacts_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_contacts_contacts_menu; txt=qtn_contacts_file; }
		
		
        };
    }

//----------------------------------------------------
//   
//    r_contacts_groups_menubar
//    The menu bar for the Contacts example. 
//	  Show Contact groups has been seleted
//
//----------------------------------------------------
//
/*RESOURCE MENU_BAR r_contacts_groups_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_contacts_groups_menu; txt=qtn_contacts_file; }
        };
    }*/
////////////////////////////////////////////////
RESOURCE MENU_BAR r_contacts_menu_bar
	{
	titles=
	    {
		MENU_TITLE { menu_pane=r_contacts_menu_pane;txt=qtn_contacts_file;}
	    };
	}

RESOURCE MENU_PANE r_contacts_menu_pane

    {
          items=
		  {
		      MENU_ITEM
			  {
			  command=EContactsNullIP;
			  txt=NULL_TEXT;
			  
			  },
               MENU_ITEM
			  {
			  command=EContactsYdIP;
			  txt=YD_TEXT;
			  } ,
			  MENU_ITEM
			  {
			  command=EContactsLtIP;
			  txt=LT_TEXT;
			  },
			   MENU_ITEM
			  { 
			  command=EContactsSetIP;
			  txt=SET_TEXT;
			  
			  }
			  
		  };   
    }




RESOURCE MENU_PANE r_contacts_contacts_menu
    {
    items=
        {

		MENU_ITEM { command=EContactsEditContact; txt=qtn_contacts_edit_contact; },
        MENU_ITEM { command=EContactsCreateContact; txt=qtn_contacts_create_contact; },
		MENU_ITEM { command=EContactsDeleteContact; txt=qtn_contacts_delete_contact; },
		MENU_ITEM { command=EAknCmdExit; txt=qtn_contacts_exit; }
        };
    }


RESOURCE DIALOG r_contacts_confirmation_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                label = qtn_contacts_con_label_text;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_textbox_query
//    Resource of Data Query.
//
//-----------------------------------------------------------------------------
//




RESOURCE DIALOG r_contacts_textbox_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_contacts_create_db_message;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    width = EContactsEdwinWidth;
                    maxlength = EContactsEdwinMaxLength;
                    max_view_height_in_lines = EContactsEdwinLines; 
                    base_line_delta = EContactsEdwinBaseLineDelta; 
                    };
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
// String resources
//
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
//
//    r_contacts_create_db_message
//    Label of Create Database message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_create_db_message
    {
    buf = qtn_contacts_create_db_message;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_delete_db_query_message
//    Label of Delete db message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_delete_db_query_message
    {
    buf = qtn_contacts_delete_db_query_message;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_delete_contact_message
//    Label of Delete contact message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_delete_contact_message
    {
    buf = qtn_contacts_delete_contact_message;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_delete_group_message
//    Label of Delete contact group message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_delete_group_message
    {
    buf = qtn_contacts_delete_group_message;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_create_group_message
//    Label of create contact group message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_create_group_message
    {
    buf = qtn_contacts_create_group_message;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_create_group_message
//    Label of create contact template message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_create_template_message
    {
    buf = qtn_contacts_create_template_message;
    }


//-----------------------------------------------------------------------------
//
//    r_contacts_db_already_exists
//    Label of contact already exists message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_db_already_exists
    {
    buf = qtn_contacts_db_already_exists;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_db_no_db
//    Label of no contacts database message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_db_no_db
    {
    buf = qtn_contacts_db_no_db;
    }
     
//-----------------------------------------------------------------------------
//
//    r_contacts_cannot_delete_def_db
//    Label of cannot delete default database message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_cannot_delete_def_db
    {
    buf = qtn_contacts_cannot_delete_def_db;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_cannot_delete_db
//    Label of cannot delete database message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_cannot_delete_db
    {
    buf = qtn_contacts_cannot_delete_db;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_db_not_found
//    Label of database not found
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_db_not_found
    {
    buf = qtn_contacts_db_not_found;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_no_db_selected
//    Label of database not selected
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_no_db_selected
    {
    buf = qtn_contacts_no_db_selected;
    }
	
//-----------------------------------------------------------------------------
//
//    r_contacts_no_contact_selected
//    Label of contact not selected
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_no_contact_selected
    {
    buf = qtn_contacts_no_contact_selected;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_open_created_db
//    Label of open created database
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_open_created_db
    {
    buf = qtn_contacts_open_created_db;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_created_db
//    Label of created database title
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_created_db
    {
    buf = qtn_contacts_created_db;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_default_db
//    Label of default database title
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_default_db
    {
    buf = qtn_contacts_default_db;
    }

//-----------------------------------------------------------------------------
//
//    r_contacts_no_db
//    Label of no database title
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF r_contacts_no_db
    {
    buf = qtn_contacts_no_db;
    }

RESOURCE TBUF r_dial_emulator_usage_error { buf=qtn_dial_emulator_usage_error; }
RESOURCE TBUF r_dial_dialing_error { buf=qtn_dial_dialing_error; }

// End of File

⌨️ 快捷键说明

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