/*
* Copyright (c) 2002-2006 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:   Resource definitions for project RingBC
*
*/



//  RESOURCE IDENTIFIER
NAME    RTBC

//  INCLUDES
#include <eikon.rh>
#include "RingBC.hrh"
#include "eikon.rsg"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.hrh>
#include <avkon.mbg>
#include <avkon.loc>

#include <ringbc.loc>   // Localisable text


//  RESOURCE DEFINITIONS
// ---------------------------------------------------------
//
//    RSS_SIGNATURE
//    Standard resource signature.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF r_sm_playback
    {
    buf = qtn_sm_playback;
    }


RESOURCE TBUF r_sm_add_composer
    {
    buf = qtn_sm_add_composer;
    }

RESOURCE CBA r_ringcontrol_softkeys_stop
    {
    buttons =
        {
        CBA_BUTTON { txt = text_softkey_empty; },
        CBA_BUTTON { id = ESoftkeyStop; txt = qtn_sm_option_stop_playback;},
        CBA_BUTTON { id = ESoftkeyStop; txt = text_softkey_empty;}
        };
    }

RESOURCE TBUF r_sm_title_ringing_tone
    {
    buf = qtn_sm_title_ringing_tone;
    }

RESOURCE TBUF r_base_string
    {
    buf="0\t%S";
    }

RESOURCE TBUF r_sm_note_tone_copied
    {
    buf = qtn_sm_note_tone_copied;
    }

RESOURCE TBUF r_sm_tone_name
    {
    buf = qtn_sm_tone_name;
    }

RESOURCE TBUF r_fldr_bad_file_name
    {
    buf = qtn_fldr_bad_file_name;
    }

RESOURCE TBUF r_fldr_illegal_characters
    {
    buf = qtn_fldr_illegal_characters;
    }

RESOURCE TBUF r_fldr_rename_query
    {
    buf = qtn_fldr_rename_query;
    }

/**
 *  Enter Ringingtone text query's definition
 */

RESOURCE DIALOG r_sm_query_ringing_tone
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = ETextEditor;
                label = qtn_fldr_item_name_prmpt;
                control = EDWIN
                    {
                    flags = 0;
                    width = 10;
                    lines = 1;
                    maxlength = KTextQueryMaxLength;
                    allowed_input_modes = EAknEditorAlphaInputMode;
                    default_input_mode = EAknEditorAlphaInputMode;
                    };
                };
            }
        };
    }

// End of File
