/*
* Copyright (c) 2002-2004 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:   This file contains data resources for the MmsDirectUpload.
*
*/




//  RESOURCE IDENTIFIER
NAME MMSD

//  INCLUDES
#include <MmsDirectUpload.loc>
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <Avkon.mbg>
#include <AvkonIcons.hrh>   // AVKON_ICON_FILE


// ========== CONSTANTS ====================================

//  RESOURCE DEFINITIONS

RESOURCE RSS_SIGNATURE { }

// -----------------------------------------------------------------------------
//   
// r_mms_direct_upload_send_messages_query
// Confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_mms_direct_upload_send_messages_query
    {
    flags    = EGeneralQueryFlags;
    buttons  = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtQuery;
            id      = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//   
// r_mms_direct_upload_confirmable_info
// Confirmation query.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_mms_direct_upload_confirmable_info
    {
    flags    = EGeneralQueryFlags;
    buttons  = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtQuery;
            id      = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout  = EConfirmationQueryLayout;
                animation = R_QGN_NOTE_INFO_ANIM;
                };
            }
        };
    }

// -----------------------------------------------------------------------------
//   
// r_mms_direct_upload_progress_note
// Progress bar.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_mms_direct_upload_progress_note
    {
    flags   = EAknProgressNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EAknNoteProgressBar;
            control = AVKON_NOTE
                {
                layout    = EProgressLayout;
                imagefile = AVKON_BITMAP_FILE;
                imageid   = EMbmAvkonQgn_note_progress;
                imagemask = EMbmAvkonQgn_note_progress_mask;
                };
            }
        };
    }

RESOURCE TBUF r_mms_direct_upload_send_messages  { buf = qtn_mms_qry_upload_messages; }
RESOURCE TBUF r_mms_direct_upload_progress { buf = qtn_mms_prog_loading_image; }
RESOURCE TBUF r_mms_direct_upload_image_compressed { buf = qtn_mms_successful_compression; }
RESOURCE TBUF r_mms_direct_upload_images_compressed { buf = qtn_mms_successful_compression_many; }
RESOURCE TBUF r_mms_direct_upload_creation_failed_some { buf = qtn_mms_upload_info_all_not_inserted; }
RESOURCE TBUF r_mms_direct_upload_creation_failed_one { buf = qtn_mms_upload_info_cannot_send; }
RESOURCE TBUF r_mms_direct_upload_creation_failed_all { buf = qtn_mms_upload_info_cannot_send_any; }

// End of File
