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

📄 locationexample.rss

📁 Symbian Demo, why do you want to get 20 bytes.
💻 RSS
字号:
/*
* ============================================================================
*  Name     : locationexample.rss
*  Part of  : Location Example
*  Created  : 21.05.2007 by Forum Nokia
*  Description:
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

NAME LOCE

#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>

#include <appinfo.rh>

#include "locationexample.hrh"
#include "locationexample.loc"

// -----------------------------------------------------------------------------
// RSS_SIGNATURE
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
    {
    }

// -----------------------------------------------------------------------------
// r_locationexample_default_docname
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_locationexample_default_docname
    {
    buf="locationE";
    }

// -----------------------------------------------------------------------------
// EIK_APP_INFO
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    }

// -----------------------------------------------------------------------------
// r_locationexample_localisable_app_info
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_locationexample_localisable_app_info
    {
    short_caption = STRING_caption;
    caption_and_icon =
    CAPTION_AND_ICON_INFO
        {
        caption = STRING_caption;
        };
    }

// -----------------------------------------------------------------------------
// r_locationexample_view1
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_locationexample_view1
    {
    menubar = r_locationexample_menubar1;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }

// -----------------------------------------------------------------------------
// r_locationexample_menubar1
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_locationexample_menubar1
    {
        titles =
        {
            MENU_TITLE
            {
                menu_pane = r_locationexample_menu1;
            }
        };
    }

// -----------------------------------------------------------------------------
// r_locationexample_menu1
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_locationexample_menu1
    {
        items =
        {
	    MENU_ITEM 
	    {
	    	command=ElocationExampleGps; 
	    	txt=STRING_gps; 
	    	cascade=r_locationexample_submenu;
	    },
            MENU_ITEM
            {
                command = EAknSoftkeyExit;
                txt = STRING_exit;
            }
        };
    }

// -----------------------------------------------------------------------------
// r_locationexample_submenu
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_locationexample_submenu
    {
    items =
        {
            MENU_ITEM
            {
                command = ElocationExampleGpsStart;
                txt = STRING_your_location;
            },
            MENU_ITEM
            {
                command = ElocationExampleGpsStop;
                txt = STRING_close_gps;
            },
            MENU_ITEM
            {
                command = ElocationExampleSendLocation;
                txt = STRING_send_location;
            },
            MENU_ITEM
            {
                command = ElocationExampleGetLocation;
                txt = STRING_get_location;
            }
        };
    }


// -----------------------------------------------------------------------------
// r_locationexample_special_menubar
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_locationexample_special_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_locationexample_submenu;}
        };
    }


// -----------------------------------------------------------------------------
// r_locationexample_listbox_resource
// -----------------------------------------------------------------------------
//
RESOURCE LISTBOX r_locationexample_listbox_resource
    {
    flags = EAknListBoxViewerFlags;
    }

// -----------------------------------------------------------------------------
// r_locationexample_listbox_resource
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_locationexample_address_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            
            control = AVKON_DATA_QUERY
                {
                layout = EPhoneLayout;
                //label = STRING_give_phone_number;
                control = EDWIN
                    {
                    maxlength = 25;
                    lines = 1;
                    };
                };
            }
        };
    }


RESOURCE TBUF r_unknown_text { buf=STRING_unknown; }
RESOURCE TBUF64 r_position_unknown_text { buf=STRING_position_unknown; }
RESOURCE TBUF64 r_position_quality_error_text { buf=STRING_position_quality_error; }
RESOURCE TBUF64 r_position_timeout_text { buf=STRING_position_timeout; }
RESOURCE TBUF r_latitude_text { buf=STRING_latitude; }
RESOURCE TBUF r_longitude_text { buf=STRING_longitude; }
RESOURCE TBUF r_sms_error { buf=STRING_sms_error; }
RESOURCE TBUF r_sms_sent { buf=STRING_sms_sent; }
RESOURCE TBUF r_friend_latitude { buf=STRING_friend_latitude; }
RESOURCE TBUF r_friend_longitude { buf=STRING_friend_longitude; }
RESOURCE TBUF r_give_phone_number { buf=STRING_give_phone_number; }
RESOURCE TBUF32 r_sms_send_location { buf=STRING_sms_send_location; }
RESOURCE TBUF r_caption { buf=STRING_caption; }
RESOURCE TBUF r_friend_distance { buf=STRING_friend_distance; }





// End of File

⌨️ 快捷键说明

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