pimappservices/calendar/client/inc/calinstanceimpl.h
author Maximilian Odendahl <maximilian.odendahl@sun.com>
Fri, 05 Feb 2010 10:16:42 +0100
changeset 1 4927282092b4
parent 0 f979ecb2b13e
permissions -rw-r--r--
Bug 208: inital CalDAV support for Symbian

// Copyright (c) 2005-2009 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:
//

#ifndef __CALINSTANCEIMPL_H__
#define __CALINSTANCEIMPL_H__

#include "caltime.h"
#include "calinstance.h"

class CCalEntry;

/** Implementation class for a CCalInstance.

@internalComponent
*/
NONSHARABLE_CLASS(CCalInstanceImpl) : public CBase
	{
public:
	static CCalInstanceImpl* NewL(CCalEntry* aEntry, const TCalTime& iTime);
	~CCalInstanceImpl();
	
	CCalEntry& Entry() const;
	TCalTime Time() const;
	TCalTime StartTimeL() const;
	TCalTime EndTimeL() const;
	TCalInstanceId InstanceIdL() const;
	
private:
	CCalInstanceImpl(CCalEntry* aEntry, const TCalTime& aTime);
	
private:
	CCalEntry& iCalEntry;
	TCalTime iCalTime;
	};

#endif // __CALINSTANCEIMPL_H__