20
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: This file contains all the resources for the NewContactLauncher.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
// RESOURCE IDENTIFIER
|
|
19 |
NAME NEWC // 4 letter ID
|
|
20 |
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <eikon.rh>
|
|
24 |
#include <avkon.rsg>
|
|
25 |
#include <avkon.rh>
|
|
26 |
#include <appinfo.rh>
|
|
27 |
#include "NewContactLauncher.hrh"
|
|
28 |
#include "NewContactLauncher.rls"
|
|
29 |
#include "phonebook2.loc"
|
|
30 |
#include <AiwCommon.rh>
|
|
31 |
#include <AiwCommon.hrh>
|
|
32 |
#include <AiwGenericParam.hrh>
|
|
33 |
// RESOURCE DEFINITIONS
|
|
34 |
// -----------------------------------------------------------------------------
|
|
35 |
//
|
|
36 |
// Define the resource file signature
|
|
37 |
// This resource should be empty.
|
|
38 |
//
|
|
39 |
// -----------------------------------------------------------------------------
|
|
40 |
//
|
|
41 |
RESOURCE RSS_SIGNATURE
|
|
42 |
{
|
|
43 |
}
|
|
44 |
|
|
45 |
// -----------------------------------------------------------------------------
|
|
46 |
//
|
|
47 |
// Default Document Name
|
|
48 |
//
|
|
49 |
// -----------------------------------------------------------------------------
|
|
50 |
//
|
|
51 |
RESOURCE TBUF r_default_document_name
|
|
52 |
{
|
|
53 |
buf="NEWC";
|
|
54 |
}
|
|
55 |
|
|
56 |
// -----------------------------------------------------------------------------
|
|
57 |
//
|
|
58 |
// Define default menu and CBA key.
|
|
59 |
//
|
|
60 |
// -----------------------------------------------------------------------------
|
|
61 |
//
|
|
62 |
RESOURCE EIK_APP_INFO
|
|
63 |
{
|
|
64 |
menubar = r_menubar;
|
|
65 |
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
|
|
66 |
}
|
|
67 |
|
|
68 |
|
|
69 |
// -----------------------------------------------------------------------------
|
|
70 |
//
|
|
71 |
// r_menubar
|
|
72 |
// Main menubar
|
|
73 |
//
|
|
74 |
// -----------------------------------------------------------------------------
|
|
75 |
//
|
|
76 |
RESOURCE MENU_BAR r_menubar
|
|
77 |
{
|
|
78 |
}
|
|
79 |
|
|
80 |
// -----------------------------------------------------------------------------
|
|
81 |
//
|
|
82 |
// About dialog resource.
|
|
83 |
//
|
|
84 |
// -----------------------------------------------------------------------------
|
|
85 |
//
|
|
86 |
RESOURCE DIALOG r_about_query_dialog
|
|
87 |
{
|
|
88 |
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
|
|
89 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
|
|
90 |
items=
|
|
91 |
{
|
|
92 |
DLG_LINE
|
|
93 |
{
|
|
94 |
type = EAknCtPopupHeadingPane;
|
|
95 |
id = EAknMessageQueryHeaderId;
|
|
96 |
itemflags = EEikDlgItemNonFocusing;
|
|
97 |
control = AVKON_HEADING
|
|
98 |
{
|
|
99 |
};
|
|
100 |
},
|
|
101 |
DLG_LINE
|
|
102 |
{
|
|
103 |
type = EAknCtMessageQuery;
|
|
104 |
id = EAknMessageQueryContentId;
|
|
105 |
control = AVKON_MESSAGE_QUERY
|
|
106 |
{
|
|
107 |
};
|
|
108 |
}
|
|
109 |
};
|
|
110 |
}
|
|
111 |
|
|
112 |
|
|
113 |
// -----------------------------------------------------------------------------
|
|
114 |
//
|
|
115 |
// Resources for messages.
|
|
116 |
//
|
|
117 |
// -----------------------------------------------------------------------------
|
|
118 |
//
|
|
119 |
RESOURCE TBUF32 r_caption_string { buf=qtn_apps_phonebook_list; }
|
|
120 |
RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
|
|
121 |
RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
|
|
122 |
RESOURCE TBUF r_command1_text { buf=qtn_command1_text; }
|
|
123 |
|
|
124 |
|
|
125 |
// ----------------------------------------------------------------------------
|
|
126 |
//
|
|
127 |
// r_localisable_app_info
|
|
128 |
//
|
|
129 |
// ----------------------------------------------------------------------------
|
|
130 |
//
|
|
131 |
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
|
|
132 |
{
|
|
133 |
short_caption = qtn_apps_phonebook_list;
|
|
134 |
caption_and_icon =
|
|
135 |
CAPTION_AND_ICON_INFO
|
|
136 |
{
|
|
137 |
caption = qtn_apps_phonebook_list;
|
|
138 |
|
|
139 |
number_of_icons = 1;
|
|
140 |
icon_file = "\\resource\\apps\\NewContactLauncher.mif";
|
|
141 |
};
|
|
142 |
}
|
|
143 |
// --------------------------------------------------------------------------
|
|
144 |
// AIW_INTEREST
|
|
145 |
// Contact assignment interest.
|
|
146 |
// --------------------------------------------------------------------------
|
|
147 |
//
|
|
148 |
RESOURCE AIW_INTEREST r_aiwassignment_interest
|
|
149 |
{
|
|
150 |
items=
|
|
151 |
{
|
|
152 |
AIW_CRITERIA_ITEM
|
|
153 |
{
|
|
154 |
id = KAiwCmdAssign; // serviceCmd used here also as ID
|
|
155 |
serviceCmd = KAiwCmdAssign;
|
|
156 |
contentType = EGenericParamContactLinkArrayStr;
|
|
157 |
serviceClass = KAiwClassMenu;
|
|
158 |
maxProviders = 1;
|
|
159 |
}
|
|
160 |
};
|
|
161 |
}
|
|
162 |
// End of File
|