coreapplicationuis/accfwuinotifier/data/accfwnoteuinotifier.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 10:12:00 +0200
changeset 0 2e3d3ce01487
child 19 924385140d98
permissions -rw-r--r--
Revision: 201002 Kit: 201005

/*
* Copyright (c) 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:  Resource file defining for "Accessory not supported" note.
*
*/


//  RESOURCE IDENTIFIER
NAME    Accn

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

#include <accfwnotifier.loc>


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF r_text_unsupp_accessory_connected { buf = text_unsupp_accessory_connected; }
RESOURCE TBUF r_text_default_enhanc { buf = qtn_acc_default_enhanc; }
RESOURCE TBUF r_text_headphones_mic { buf = qtn_acc_headphones_mic; }



//------------------------------------------------------------------------------
//   SELECTION_DATA structure.
//------------------------------------------------------------------------------

STRUCT SELECTION_DATA
    {
    LONG index;			//selection index
    LTEXT nameliteral; 		//name literal
    }
    
//------------------------------------------------------------------------------
//   SELECTION_LITERALS_ARRAY structure.
//------------------------------------------------------------------------------

STRUCT SELECTION_LITERALS_ARRAY
    {
    STRUCT literals[];
    }    

//------------------------------------------------------------------------------
//   r_selection_dialog_list_query.
//------------------------------------------------------------------------------

RESOURCE DIALOG r_selection_dialog_list_query
{
  flags = EGeneralQueryFlags;
  buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
  items =
    {
    DLG_LINE
      {
      type = EAknCtListQueryControl;
      id = EListQueryControl;
      
        control = AVKON_LIST_QUERY_CONTROL
        {
        listtype = EAknCtSinglePopupMenuListBox;
        listbox = LISTBOX
          {
              flags = EAknListBoxMenuList;

          };
        heading = qtn_acc_select_acc;
        };

      }
    };
}

//------------------------------------------------------------------------------
//   r_accfwuinotifier_information_note
//------------------------------------------------------------------------------

RESOURCE DIALOG r_accfwuinotifier_information_note
    {
    flags = EEikDialogFlagNoDrag |
            EEikDialogFlagNoTitleBar |
            EEikDialogFlagCbaButtons;

    buttons = R_AVKON_SOFTKEYS_EMPTY;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EGeneralNote;
            control = AVKON_NOTE 
                { 
                layout = EGeneralLayout;
                singular_label = " ";
                animation = R_QGN_NOTE_INFO_ANIM;
                };
            }
        };

    }
  
//------------------------------------------------------------------------------
//   r_selection_dialog_literals.
//------------------------------------------------------------------------------

RESOURCE SELECTION_LITERALS_ARRAY r_selection_dialog_literals
{
  literals =
    {
       SELECTION_DATA
 	     {
    	  	index = 0x1;
      		nameliteral = qtn_tty_acc_selection_dialog;
      	 },
    	SELECTION_DATA
      	 {
		    index = 0x2;
		    nameliteral = qtn_loopset_acc_selection_dialog;
	     },
	    SELECTION_DATA
    	 {
      		index = 0x4;
      		nameliteral = qtn_headset_acc_selection_dialog;
      	 },
    	SELECTION_DATA
      	 {
      		index = 0x8;
      		nameliteral = qtn_headphones_acc_selection_dialog;
      	 },
	    SELECTION_DATA
     	 {
      		index = 0x10;
      		nameliteral = qtn_lineout_acc_selection_dialog;
      	},
	    SELECTION_DATA
     	 {
      		index = 0x20;
      		nameliteral = qtn_tvout_acc_selection_dialog;
      	},
      SELECTION_DATA
     	 {
      		index = 0x40;
      		nameliteral = qtn_musicstand_acc_selection_dialog;
      	}  
  	};
}

// End of File