calendarui/regionalplugins/lunarchinese/src/CalenRegionalInfoData.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:25:23 +0300
changeset 68 a5a1242fd2e8
parent 58 ef813d54df51
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* 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 );
    }