calendarui/regionalplugins/lunarchinese/src/CalenRegionalInfoData.cpp
author hgs
Mon, 26 Jul 2010 13:54:38 +0530
changeset 55 2c54b51f39c4
parent 51 0b38fc5b94c6
permissions -rw-r--r--
201029

/*
* Copyright (c) 2010 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:  CalenAgendaView implementation.
*
*/

//  User includes
#include "CalenRegionalInfoData.h"
#include "CalenLunarChinesePlugin.h"
#include "OstTraceDefinitions.h"
#ifdef OST_TRACE_COMPILER_IN_USE
#include "CalenRegionalInfoDataTraces.h"
#endif



// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CalenRegionalInfo::CCalenRegionalInfo
// -----------------------------------------------------------------------------
//
CalenRegionalInfo::CalenRegionalInfo(CCalenLunarChinesePlugin &plugin): mPlugin(plugin)
    {
	OstTraceFunctionEntry0( CALENREGIONALINFO_CALENREGIONALINFO_ENTRY );

    OstTraceFunctionExit0( CALENREGIONALINFO_CALENREGIONALINFO_EXIT );
    }

// -----------------------------------------------------------------------------
// CCalenRegionalInfo::~CCalenRegionalInfo
// -----------------------------------------------------------------------------
//
CalenRegionalInfo::~CalenRegionalInfo()
    {
	OstTraceFunctionEntry0( DUP1_CALENREGIONALINFO_CALENREGIONALINFO_ENTRY );

    OstTraceFunctionExit0( DUP1_CALENREGIONALINFO_CALENREGIONALINFO_EXIT );
    }

// -----------------------------------------------------------------------------
// CCalenRegionalInfo::showRegionalDetailsL
// its a slot ,calls when user clicked show lunar data option
// -----------------------------------------------------------------------------
//
void CalenRegionalInfo::showRegionalDetails()
    {
    OstTraceFunctionEntry0( CALENREGIONALINFO_SHOWREGIONALDETAILS_ENTRY );
    mPlugin.ShowDetailsL();
    OstTraceFunctionExit0( CALENREGIONALINFO_SHOWREGIONALDETAILS_EXIT );
    }