/*
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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 file of PapNotifDlg
*
*/

/*
* %version: 6 %
*/

// RESOURCE IDENTIFIER
NAME PAPN


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

#include <papnotifdlg.loc>
#include "papnotifui.hrh"


// RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE DIALOG r_papnotif_username_password_query
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | 
            EEikDialogFlagCbaButtons|EEikDialogFlagNotifyEsc;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type = EAknCtMultilineQuery;
            id = EMultilineFirstLine;
            control = AVERELL_DATA_QUERY
                { 
                layout = EMultiDataFirstEdwin;
                label = qtn_wlan_eap_pap_notif_username;
                control = EDWIN
                    {
                    flags = 0;
                    width = 5;
                    lines = 1;
                    maxlength = KPapUsernameMaxLength;
                    default_case = EAknEditorLowerCase;
                    allowed_case_modes = EAknEditorAllCaseModes;
                    allowed_input_modes = EAknEditorAlphaInputMode | 
                                          EAknEditorNumericInputMode |
                                          EAknEditorPredictiveInputMode;
                    default_input_mode = EAknEditorPredictiveInputMode;
                    };
                };
            },

        DLG_LINE
            {
            type = EAknCtMultilineQuery;
            id = EMultilineSecondLine;
            control = AVERELL_DATA_QUERY 
                { 
                layout = EMultiDataSecondSecEd;
                label = qtn_wlan_eap_pap_notif_password;
                control = SECRETED
                    {
                    num_letters = KPapPasswordMaxLength;
                    };
                };
            }
        };
    }
    
RESOURCE CBA r_papnotif_softkeys_ok___select
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_ok; },
        CBA_BUTTON { },
        CBA_BUTTON { id = EAknSoftkeyOk; txt = qtn_msk_select; }
        };
    }
    
    
RESOURCE DIALOG r_pap_challenge_message_query
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | 
            EEikDialogFlagCbaButtons | EEikDialogFlagNotifyEsc;
    buttons = r_papnotif_softkeys_ok___select;
    items =
        {
        DLG_LINE
            {
            type = EAknCtPopupHeadingPane;
            id = EAknMessageQueryHeaderId;
            control = AVKON_HEADING
                {
                label = qtn_wlan_eap_pap_notif_message;
                };
            },

        DLG_LINE
            {
            type = EAknCtMessageQuery;
            id = EAknMessageQueryContentId;
            control = AVKON_MESSAGE_QUERY
                {
                };
            }
        };
    }
    
RESOURCE DIALOG r_pap_challenge_reply_query
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | 
            EEikDialogFlagCbaButtons | EEikDialogFlagNotifyEsc;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                { 
                layout = ECodeLayout;
                label = qtn_wlan_eap_pap_notif_response;
                control = SECRETED 
                    {
                    num_letters = KPapPasswordMaxLength;
                    };
                };
            }
        };
    }
         

// End of File
