/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
NAME TTSD
#include <avkon.rsg>
#include <avkon.rh>
#include <eikon.rh>
#include <appinfo.rh>
#include <avkon.loc>
#include <data_caging_paths_strings.hrh>
#include "texttospeech.hrh"
#include "texttospeech.loc"
RESOURCE RSS_SIGNATURE
{
}
RESOURCE TBUF r_default_document_name
{
buf = "TextToSpeech";
}
RESOURCE EIK_APP_INFO
{
}
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = STR_TextToSpeechApplication_2;
caption_and_icon = CAPTION_AND_ICON_INFO
{
caption = STR_TextToSpeechApplication_1;
number_of_icons = 1;
icon_file = APP_BITMAP_DIR"\\texttospeech_aif.mif";
};
}
RESOURCE AVKON_VIEW r_text_to_speech_setting_item_list_text_to_speech_setting_item_list_view
{
cba = r_text_to_speech_softkeys;
menubar = r_text_to_speech_setting_item_list_options_menu;
}
RESOURCE CBA r_text_to_speech_softkeys
{
buttons =
{
CBA_BUTTON {id = EAknSoftkeyOptions; txt = text_softkey_option; },
CBA_BUTTON {id = EAknSoftkeyExit; txt = text_softkey_exit; },
CBA_BUTTON {id = EAknSoftkeyChange; txt = qtn_msk_change; }
};
}
RESOURCE MENU_BAR r_text_to_speech_setting_item_list_options_menu
{
titles =
{
MENU_TITLE
{
menu_pane = r_text_to_speech_setting_item_list_menu_pane1_menu_pane;
}
};
}
RESOURCE MENU_PANE r_text_to_speech_setting_item_list_menu_pane1_menu_pane
{
items =
{
MENU_ITEM
{
command = ETextToSpeechSettingItemListViewMenuItem1Command;
txt = STR_TextToSpeechSettingItemListView_4;
},
MENU_ITEM
{
command = ETextToSpeechSettingItemListViewSynthesiseMenuItemCommand;
txt = STR_TextToSpeechSettingItemListView_45;
},
MENU_ITEM
{
command = ETextToSpeechSettingItemListViewExitMenuItemCommand;
txt = STR_TextToSpeechSettingItemListView_46;
}
};
}
RESOURCE STATUS_PANE_APP_MODEL r_text_to_speech_setting_item_list_status_pane
{
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidTitle;
type = EAknCtTitlePane;
resource = r_text_to_speech_setting_item_list_title_resource;
}
};
}
RESOURCE TITLE_PANE r_text_to_speech_setting_item_list_title_resource
{
txt = STR_TextToSpeechSettingItemListView_2;
}
RESOURCE AVKON_SETTING_ITEM_LIST r_text_to_speech_setting_item_list_text_to_speech_setting_item_list
{
items =
{
AVKON_SETTING_ITEM
{
name = STR_TextToSpeechSettingItemListView_6;
identifier = ETextToSpeechSettingItemListViewEdit1;
setting_page_resource = r_text_to_speech_setting_item_list_edit1_setting_page_resource;
},
AVKON_SETTING_ITEM
{
name = STR_TextToSpeechSettingItemListView_7;
identifier = ETextToSpeechSettingItemListViewEnumeratedTextPopup1;
setting_page_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_page_resource;
associated_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1;
},
AVKON_SETTING_ITEM
{
name = STR_TextToSpeechSettingItemListView_8;
identifier = ETextToSpeechSettingItemListViewEnumeratedTextPopup2;
setting_page_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_page_resource;
associated_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2;
},
AVKON_SETTING_ITEM
{
name = STR_TextToSpeechSettingItemListView_11;
identifier = ETextToSpeechSettingItemListViewSlider1;
setting_page_resource = r_text_to_speech_setting_item_list_slider1_setting_page_resource;
}
};
}
RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_edit1_setting_page_resource
{
number = -16380;
label = STR_TextToSpeechSettingItemListView_6;
type = EEikCtEdwin;
editor_resource_id = r_text_to_speech_setting_item_list_edit1_editor_resource_id;
}
RESOURCE EDWIN r_text_to_speech_setting_item_list_edit1_editor_resource_id
{
// default_case = EAknEditorTextCase;
// allowed_case_modes = EAknEditorAllCaseModes;
// numeric_keymap = EAknEditorStandardNumberModeKeymap;
// default_input_mode = EAknEditorTextInputMode;
// allowed_input_modes = EAknEditorAllInputModes;
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
// avkon_flags = EAknEditorFlagDefault;
maxlength = 255;
}
RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_page_resource
{
number = -16380;
label = STR_TextToSpeechSettingItemListView_7;
type = EAknCtPopupSettingList;
editor_resource_id = r_text_to_speech_setting_item_list_enumerated_text_popup1_editor_resource_id;
}
RESOURCE POPUP_SETTING_LIST r_text_to_speech_setting_item_list_enumerated_text_popup1_editor_resource_id
{
}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_text_to_speech_setting_item_list_enumerated_text_popup1
{
setting_texts_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_texts_resource;
}
RESOURCE ARRAY r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_texts_resource
{
items =
{
AVKON_ENUMERATED_TEXT
{
text = STR_TextToSpeechSettingItemListView_17;
}
};
}
RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_page_resource
{
number = -16380;
label = STR_TextToSpeechSettingItemListView_8;
type = EAknCtPopupSettingList;
editor_resource_id = r_text_to_speech_setting_item_list_enumerated_text_popup2_editor_resource_id;
}
RESOURCE POPUP_SETTING_LIST r_text_to_speech_setting_item_list_enumerated_text_popup2_editor_resource_id
{
}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_text_to_speech_setting_item_list_enumerated_text_popup2
{
setting_texts_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_texts_resource;
}
RESOURCE ARRAY r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_texts_resource
{
items =
{
AVKON_ENUMERATED_TEXT
{
text = STR_TextToSpeechSettingItemListView_24;
}
};
}
RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_slider1_setting_page_resource
{
number = -16380;
label = STR_TextToSpeechSettingItemListView_11;
type = EAknCtSlider;
editor_resource_id = r_text_to_speech_setting_item_list_slider1_editor_resource_id;
}
RESOURCE SLIDER r_text_to_speech_setting_item_list_slider1_editor_resource_id
{
layout = EAknSettingsItemSliderLayout;
minvalue = 10;
maxvalue = 100;
step = 10;
valuetype = EAknSliderValueBareFigure;
minlabel = STR_TextToSpeechSettingItemListView_9;
maxlabel = STR_TextToSpeechSettingItemListView_10;
}
RESOURCE TBUF r_text_to_speech_setting_item_list_edit1
{
buf = STR_TextToSpeechSettingItemListView_5;
}