/*
* Copyright (c) 2002 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: Profiles Settings View resources
*
*/
// RESOURCE IDENTIFIER
NAME PRO2
// INTERNAL INCLUDES
#include <profileapp.loc>
#include <Profile.loc>
#include "ProfileSettingsView.hrh"
#include "ProfileInternal.hrh"
// EXTERNAL INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.loc>
#include <avkon.mbg>
#include <AvkonIcons.hrh>
#include <drmcommon.loc>
#include <e32keys.h>
#include <bldvariant.hrh>
#include <ProfileEng.hrh>
#include <Profile.hrh>
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE {}
RESOURCE TBUF { buf = ""; }
RESOURCE EIK_APP_INFO {}
// Include the common part of the resources (of application and plugin):
#include "ProfileSettingsViewCommon.rss"
// -----------------------------------------------------------------------------
//
// r_profile_setting_item_list
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_profile_setting_item_list
{
items =
{
AVKON_SETTING_ITEM
{
identifier = EProfileSettingRingingToneId;
name = qtn_mode_ringing_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingRingingToneLine1Id;
name = qtn_mode_line1_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingRingingToneLine2Id;
name = qtn_mode_line2_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingRingingTypeId;
name = qtn_mode_ringing_type_2;
setting_page_resource = r_profile_ringing_type_setting_page;
associated_resource = r_profile_ringing_type_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingRingingVolumeId;
name = qtn_mode_ringing_volume;
setting_page_resource = r_profile_ringing_volume_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingMediaVolumeId;
name = qtn_profiles_media_volume;
setting_page_resource = r_profile_media_volume_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingMessageAlertToneId;
name = qtn_mode_message_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingKeypadVolumeId;
name = qtn_mode_keypad_volume;
setting_page_resource = r_profile_keypad_volume_setting_page;
associated_resource = r_profile_keypad_volume_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingVibratingAlertId;
name = qtn_mode_vibrating_alert;
setting_page_resource = r_profile_vibrating_alert_setting_page;
associated_resource = r_profile_vibrating_alert_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingEmailVibratingAlertId;
name = qtn_profiles_email_vibra;
setting_page_resource = r_profile_email_vibrating_alert_setting_page;
associated_resource = r_profile_email_vibrating_alert_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingVideoCallToneId;
name = qtn_mode_vt_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingEmailAlertToneId;
name = qtn_profiles_e_mail_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingWarningAndGameTonesId;
name = qtn_mode_warning_game;
setting_page_resource = r_profile_warning_tones_setting_page;
associated_resource = r_profile_warning_alert_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingTTSRingingToneId;
name = qtn_mode_tts_ringing_tone;
setting_page_resource = r_profile_tts_tones_setting_page;
associated_resource = r_profile_tts_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSetting3dEffectId;
name = qtn_profiles_tone_3d_effect;
setting_page_resource = r_profile_3d_effect_setting_page;
associated_resource = r_profile_3d_effect_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSetting3dEchoId;
name = qtn_profiles_tone_3d_echo;
setting_page_resource = r_profile_3d_echo_setting_page;
associated_resource = r_profile_3d_echo_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingTactileFeedbackId;
name = qtn_mode_tactile_feedback;
setting_page_resource = r_profile_tactile_feedback_setting_page;
associated_resource = r_profile_tactile_feedback_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingAudioFeedbackId;
name = qtn_mode_audio_feedback;
setting_page_resource = r_profile_audio_feedback_setting_page;
associated_resource = r_profile_audio_feedback_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingAlertForId;
name = qtn_mode_alert_for;
setting_page_resource = r_profile_alert_for_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingPTTRingingToneId;
name = qtn_poc_profile_ringing_tone;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingPTTStatusId;
name = qtn_poc_profile_status;
setting_page_resource = r_profile_ptt_status_setting_page;
associated_resource = r_profile_ptt_status_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EProfileSettingProfileNameId;
name = qtn_mode_sett_profile_name;
setting_page_resource = r_profile_name_setting_page;
}
};
}
// -----------------------------------------------------------------------------
//
// r_profile_alert_for_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_profile_alert_for_setting_page
{
label = qtn_mode_alert_for;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__UNMARK;
type = EAknSetListBox;
editor_resource_id = r_profile_alert_for_control;
}
// -----------------------------------------------------------------------------
//
// r_profile_alert_for_control
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE LISTBOX r_profile_alert_for_control
{
flags = EEikListBoxMultipleSelection;
}
// -----------------------------------------------------------------------------
//
// r_profile_name_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_profile_name_setting_page
{
label = qtn_mode_sett_profile_name;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
type = EEikCtEdwin;
editor_resource_id = r_profile_name_control;
}
// -----------------------------------------------------------------------------
//
// r_profile_name_control
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE EDWIN r_profile_name_control
{
flags = EEikEdwinNoLineOrParaBreaks;
width = 9;
lines = 5;
maxlength = PROFILES_MAX_NAME_LENGTH;
}
// -----------------------------------------------------------------------------
//
// r_profile_media_volume_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_profile_media_volume_setting_page
{
label = qtn_profiles_media_volume;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
type = EAknCtVolumeControl;
editor_resource_id = r_profile_ringing_volume_control;
}
// -----------------------------------------------------------------------------
//
// r_profile_ptt_status_setting_page
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_profile_ptt_status_setting_page
{
label = qtn_mode_ringing_type_2;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
type = EAknCtPopupSettingList;
editor_resource_id = r_profile_empty_popup_setting_list_control;
}
// -----------------------------------------------------------------------------
//
// r_profile_ptt_status_setting_texts
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE AVKON_POPUP_SETTING_TEXTS r_profile_ptt_status_setting_texts
{
setting_texts_resource = r_profile_ptt_status_texts_and_values;
}
// -----------------------------------------------------------------------------
//
// r_profile_ptt_status_texts_and_values
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE ARRAY r_profile_ptt_status_texts_and_values
{
items =
{
AVKON_ENUMERATED_TEXT {
value = EProfilePttActive; text = qtn_poc_profile_status_active; },
AVKON_ENUMERATED_TEXT {
value = EProfilePttSilent; text = qtn_poc_profile_status_silent; },
AVKON_ENUMERATED_TEXT {
value = EProfilePttDoNotDisturb; text = qtn_poc_profile_status_dnd; }
};
}
// -----------------------------------------------------------------------------
//
// r_profile_text_all_callers
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_profile_text_all_callers { buf = qtn_tc_all_callers; }
// -----------------------------------------------------------------------------
//
// r_profile_text_several_groups
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_profile_text_several_groups { buf = qtn_tc_several_groups; }
// -----------------------------------------------------------------------------
//
// r_profile_text_rename_error
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_profile_text_rename_error { buf = qtn_mode_rename_error; }
// -----------------------------------------------------------------------------
//
// r_profile_confirm_ringtone_found
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_profile_confirm_ringtone_found {
buf = qtn_profiles_confirm_ringtone_found; }
// -----------------------------------------------------------------------------
//
// r_profile_confirm_ringtone_found_query
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_profile_confirm_ringtone_found_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
label = "";
bmpfile = AVKON_BITMAP_FILE;
bmpid = EMbmAvkonQgn_note_info;
bmpmask = EMbmAvkonQgn_note_info_mask;
};
}
};
}
// -----------------------------------------------------------------------------
//
// r_profile_text_psm_infonote
// ?description
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_profile_text_psm_infonote { buf = qtn_power_saving_protected_settings_infonote; }
// End of File