/*
* 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:
*
*/
// system inlcudes.
#include <data_caging_paths_strings.hrh>
#include <bldvariant.hrh>
#include <avkon.loc>
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <calendar.loc>
#include <AvkonIcons.hrh>
#include <avkon.hrh>
#include <aknsconstants.hrh>
#include <calendar.loc>
#include <calendar.mbg>
#include <calencommands.hrh>
#include "calendar.hrh"
//#include "MultilcaldControls.hrh"
NAME CLD1
RESOURCE RSS_SIGNATURE { }
// Resource definitions
// ---------------------------------------------------------
// R_CALENDB_LIST_MENUBAR
// The menubar.
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_calendb_list_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = R_AVKON_MENUPANE_EMPTY;
}
};
}
//----------------------------------------------------
//
// r_calendb_list_dialog
// Dialog resource for settings dialog.
//
//----------------------------------------------------
//
RESOURCE DIALOG r_calendb_list_dialog
{
flags = EEikDialogFlagNoDrag
| EEikDialogFlagFillAppClientRect
| EEikDialogFlagCbaButtons
| EEikDialogFlagWait
| EAknDialogSelectionList
| EEikDialogFlagNotifyEsc;
buttons = r_calendb_list_mark_cba;
}
//----------------------------------------------------
//
// r_calendb_list_dialog
// Dialog resource for settings dialog.
//
//----------------------------------------------------
//
RESOURCE DIALOG r_calendb_list_singleselect_dialog
{
flags = EEikDialogFlagNoDrag
| EEikDialogFlagFillAppClientRect
| EEikDialogFlagCbaButtons
| EEikDialogFlagWait
| EEikDialogFlagNotifyEsc;
buttons = R_AVKON_SOFTKEYS_OK_BACK ;
}
//----------------------------------------------------
//
// r_calen_multipledb_cba
// CBA resource for calendars dialog.
//
//----------------------------------------------------
//
RESOURCE CBA r_calendb_list_mark_cba
{
buttons =
{
CBA_BUTTON
{
id = ECalenSelectCmdOk;
txt = text_softkey_ok;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
}
};
}
RESOURCE CBA r_cba
{
buttons =
{
CBA_BUTTON { id = EAknSoftkeyOk; txt = "Ok"; },
CBA_BUTTON { id = EEikBidCancel; txt = "Cancel"; }
};
}
// ---------------------------------------------------------
//
// r_calen_db_list_title
// The empty text when the item subject is empty
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_calen_db_list_title
{
buf = qtn_cale_title_calendars;
}
// ---------------------------------------------------------
//
// r_calen_db_list_title
// The empty text when the item subject is empty
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_calen_db_visible
{
buf = qtn_cale_db_shown;
}
// ---------------------------------------------------------
//
// r_calen_db_list_title
// The empty text when the item subject is empty
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_calen_db_hidden
{
buf = qtn_cale_db_hidden;
}
//----------------------------------------------------
//
// r_calen_caldb_menubar
// menubar resource for calendars dialog.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_calen_caldb_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_calen_caldb_menupane;
txt = ""; // dummy
}
};
}
//----------------------------------------------------
//
// r_calen_caldb_menupane
// menupane resource for calendars dialog.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_calen_caldb_menupane
{
items =
{
MENU_ITEM
{
command = ECalenCmdItemSelect;
txt = qtn_cale_db_opt_show_calendar;
//Single click
flags = EEikMenuItemSpecific;
},
MENU_ITEM
{
command = ECalenCmdEdit;
txt = qtn_cale_db_opt_edit_calendar;
//Single click
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = EAknCmdHelp;
txt = qtn_options_help;
}
,
MENU_ITEM
{
command = EAknSoftkeyBack;
txt=text_softkey_back;
}
};
}