/*
* Copyright (c) 2008 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 testsdkcfd
 *
*/


NAME    TEST

#include <avkon.rsg>
#include <avkon.rh>
#include <eikon.rh>

#include "testsdkappfw.hrh"

RESOURCE RSS_SIGNATURE
    {
    }
RESOURCE TBUF
    {
    buf = "";
    }

// ---------------------------------------------------------------------------
// r_test_view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_test_view
    {
    menubar = r_test_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    toolbar = r_test_toolbar;
    }

// ---------------------------------------------------------------------------
// r_test_menubar
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_test_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_test_menu1;            
            },
        MENU_TITLE
            {
            menu_pane = r_test_menu2;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_test_menu1
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_test_menu1
    {
    items = 
        {
        MENU_ITEM
            {
            command = ETestCmdApplication;
            txt = "Test CAknApplication";
            },
        MENU_ITEM
            {
            command = ETestCmdDocument;
            txt = "Test CAknDocument";
            },
        MENU_ITEM
            {
            command = ETestCmdViewAppUi;
            txt = "Test CAknViewAppUi";
            }
        };
    }

// ---------------------------------------------------------------------------
// r_test_menu2
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_test_menu2
    {
    items = 
        {
        MENU_ITEM
            {
            command = ETestCmdView;
            txt = "Test CAknView";
            }
        };
    }

// ---------------------------------------------------------------------------
// r_test_toolbar
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_TOOLBAR r_test_toolbar
    {
    flags = KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = 0;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
                        txt = "";
                        helptxt = "";
                        }
                    };
                };
            }
        };
    }
