examples/Networking/SecureSockets/SecureSockets.rss

00001 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 NAME SECS
00017 
00018 #include <eikon.rh>
00019 #include <eikon.rsg>
00020 
00021 #include "SecureSockets.hrh"
00022 
00023 RESOURCE RSS_SIGNATURE { }
00024 
00025 RESOURCE TBUF16 { buf=""; }
00026 
00027 RESOURCE EIK_APP_INFO { hotkeys=r_cons_hotkeys; menubar=r_cons_menubar; }
00028 
00029 RESOURCE HOTKEYS r_cons_hotkeys
00030     {
00031     control=
00032         {
00033         HOTKEY { command=EEikCmdExit; key='e'; },
00034         HOTKEY { command=ECmdStart; key='s'; },
00035                 HOTKEY { command=ECmdCancel; key='x'; }
00036         };
00037     }
00038 
00039 RESOURCE MENU_BAR r_cons_menubar
00040     {
00041     titles=
00042         {
00043         MENU_TITLE { menu_pane=r_cons_file_menu; txt="Socket"; }
00044         };
00045     }
00046 
00047 RESOURCE MENU_PANE r_cons_file_menu
00048     {
00049     items=
00050         {
00051        MENU_ITEM 
00052                         { 
00053                         command=ECmdStart; 
00054                         txt="Connect"<KEllipsis>; 
00055                         },
00056        MENU_ITEM 
00057                         { 
00058                         command=ECmdCancel; 
00059                         txt="Cancel"; 
00060                         },
00061        MENU_ITEM 
00062                         { 
00063                         command=EEikCmdExit; 
00064                         txt="Exit"; 
00065                         }
00066         };
00067     }
00068 
00069 RESOURCE DIALOG r_secs_settings
00070         {
00071         title="Connection settings";
00072     flags=EEikDialogFlagWait;
00073     buttons=R_EIK_BUTTONS_CANCEL_OK;
00074     items=
00075         {
00076                 DLG_LINE
00077                         {
00078                         prompt="Server name";
00079             type=EEikCtEdwin;
00080                         id=EServerName;
00081                         control=EDWIN
00082                                 {
00083                                 maxlength=EFieldMax;
00084                                 width=EFieldWidth;
00085                                 }; 
00086                         },
00087                 DLG_LINE
00088                         {
00089                         prompt="Port";
00090                         type=EEikCtNumberEditor;
00091                         id=EPort;
00092                         control=NUMBER_EDITOR
00093                                 {
00094                                 min=1;
00095                                 max=999;
00096                                 };
00097                         },
00098                 DLG_LINE
00099                         {
00100                         prompt="Page";
00101             type=EEikCtEdwin;
00102                         id=EPage;
00103                         control=EDWIN
00104                                 {
00105                                 maxlength=EFieldMax;
00106                                 width=EFieldWidth;
00107                                 }; 
00108                         }
00109                 };
00110         }

Generated on Thu Jan 21 10:33:00 2010 for TB10.1 Example Applications by  doxygen 1.5.3