/*
* Copyright (c) 2005-2007 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:  Phonebook 2 CBA resources.
*
*/


#include <Pbk2Commands.hrh>
#include <avkon.loc>
#include <e32keys.h>
#include <phonebook2ece.loc>

// --------------------------------------------------------------------------
// Options - Open - Exit
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_exit_open
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyExit;
            txt= text_softkey_exit;
            },
        CBA_BUTTON
            {
            id = EPbk2CmdOpenMeViews;
            txt = text_softkey_open;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Context Menu - Exit
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_exit_context
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyExit;
            txt= text_softkey_exit;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyContextOptions;
            txt = text_softkey_option;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Empty - Exit
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_exit_empty
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyExit;
            txt= text_softkey_exit;
            },
        CBA_BUTTON
            {
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Context Menu - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_back_context
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EPbk2CmdOpenPreviousView;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyContextOptions;
            txt = text_softkey_option;
            }
        };
    }

// --------------------------------------------------------------------------
// Empty - Back - Empty
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_empty_back_empty
    {
    buttons =
        {
        CBA_BUTTON
            {},
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {}
        };
    }

// --------------------------------------------------------------------------
// Empty - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_settings_softkeys_empty_cancel
    {
    buttons =
        {
        CBA_BUTTON
            {},
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            }
        };
    }

// --------------------------------------------------------------------------
// Ok - Back - Ok
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_ok_back_ok
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EEikBidOk;
            txt = text_softkey_ok;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EEikBidOk;
            txt = text_softkey_ok;
            }
        };
    }

// --------------------------------------------------------------------------
// Assign - Assign - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_assign_back_assign
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_phob_sk_assign_folder;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_phob_sk_assign_folder;
            }
        };
    }

// --------------------------------------------------------------------------
// Assign - Assign - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_assign_cancel_assign
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_phob_sk_assign_folder;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_phob_sk_assign_folder;
            }
        };
    }

// --------------------------------------------------------------------------
// Goto - Cancel - Goto
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_cba_goto_cancel_goto
    {
    buttons =
        {
        AVKON_CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_wml_softk_go;
            },
        AVKON_CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            },
        AVKON_CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = qtn_wml_softk_go;
            }
        };
    }

// --------------------------------------------------------------------------
//  Call - Call - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_call_cancel_call
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_call;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt = text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_call;
            }
        };
    }

// --------------------------------------------------------------------------
//  Empty - Empty - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_empty_cancel_empty
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyEmpty;
            txt = text_softkey_empty;
            },
        // Need to use EAknSoftkeyBack because list query doesn't exit
        // with any other key!
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyEmpty;
            txt = text_softkey_empty;
            }
        };
    }

// --------------------------------------------------------------------------
//  Empty - Mark - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_empty_cancel_mark
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyEmpty;
            txt = text_softkey_empty;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyMark;
            txt = text_softkey_mark;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Change - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_back_change
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EPbk2CmdOpenPreviousView;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EPbk2CmdEditSetting;
            txt = qtn_msk_change;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Edit - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_back_edit
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EPbk2CmdOpenPreviousView;
            txt = text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyEdit;
            txt = text_softkey_edit;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Context Menu - Done
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_done_context
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt= text_softkey_done;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyContextOptions;
            txt = text_softkey_option;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Empty - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_back_empty
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt= text_softkey_back;
            },
        CBA_BUTTON
            {
            }
        };
    }

// --------------------------------------------------------------------------
// Select - Select - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_select_back_select
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_select;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt= text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_select;
            }
        };
    }

// --------------------------------------------------------------------------
// Call - Call - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_call_back_call
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_call;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt= text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = text_softkey_call;
            }
        };
    }


// --------------------------------------------------------------------------
// Ok - Mark - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_ok_back_mark
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = text_softkey_ok;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt= text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyMark;
            txt = text_softkey_mark;
            }
        };
    }

// --------------------------------------------------------------------------
// Ok - Unmark - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_ok_back_unmark
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = text_softkey_ok;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt= text_softkey_back;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyUnmark;
            txt = text_softkey_unmark;
            }
        };
    }
    
// --------------------------------------------------------------------------
// Options - Change - Done
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_done_change
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt= text_softkey_done;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyChange;
            txt = qtn_msk_change;
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Add - Done
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_done_add
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt= text_softkey_done;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyChange;
            txt = qtn_msk_add;  
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Empty - Done
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_done_empty
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt= text_softkey_done;
            },
        CBA_BUTTON
            {
            }
        };
    }

// --------------------------------------------------------------------------
// Options - Select - Exit
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_exit_select
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyExit;
            txt= text_softkey_exit;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = qtn_msk_select;
            }
        };
    }
// --------------------------------------------------------------------------
// Options - Select - Exit
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_options_done_select
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOptions;
            txt = text_softkey_option;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
			txt= text_softkey_done;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = qtn_msk_select;
            }
        };
    }

// --------------------------------------------------------------------------
// Merge - Mark - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_merge_back_mark
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = text_softkey_merge;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt= text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyMark;
            txt = text_softkey_mark;
            }
        };
    }

// --------------------------------------------------------------------------
// Done - Select - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_done_cancel_select
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt = text_softkey_done;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt= text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = qtn_msk_select;
            }
        };
    }

// --------------------------------------------------------------------------
// Next - Select - Cancel
// --------------------------------------------------------------------------
//
RESOURCE CBA r_pbk2_softkeys_next_cancel_select
    {
    flags = 0;
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyDone;
            txt = text_softkey_next;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyCancel;
            txt= text_softkey_cancel;
            },
        CBA_BUTTON
            {
            id = EAknSoftkeySelect;
            txt = qtn_msk_select;
            }
        };
    }
// End of File
