diff -r 2f40063dfb5c -r 66e84aa0ed46 contextutility/src/hgcontextutilitybase.cpp --- a/contextutility/src/hgcontextutilitybase.cpp Wed Mar 03 15:38:34 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,114 +0,0 @@ -/* -* 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: Context publishing helper dll -* -*/ - - -#include -#include "hgcontextutilityimpl.h" - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::CHgContextUtilityBase -// ----------------------------------------------------------------------------- -// -CHgContextUtilityBase::CHgContextUtilityBase() - { - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::BaseConstructL -// ----------------------------------------------------------------------------- -// -void CHgContextUtilityBase::BaseConstructL() - { - iImpl = CHgContextUtilityImpl::NewL(); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::~CHgContextUtilityBase -// ----------------------------------------------------------------------------- -// -CHgContextUtilityBase::~CHgContextUtilityBase() - { - delete iImpl; - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::PublishContextL -// ----------------------------------------------------------------------------- -// -EXPORT_C void CHgContextUtilityBase::PublishContextL( const TDesC& aContextType, - const TDesC& aContextData ) - { - iImpl->PublishContextL( aContextType, aContextData ); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::PublishContextL -// Array version -// ----------------------------------------------------------------------------- -// -EXPORT_C void CHgContextUtilityBase::PublishContextL( const TDesC& aContextType, - const MDesCArray& aContextData ) - { - iImpl->PublishContextL( aContextType, aContextData ); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::GetContextL -// ----------------------------------------------------------------------------- -// -EXPORT_C HBufC* CHgContextUtilityBase::GetContextL( const TDesC& aContextSource, - const TDesC& aContextType ) - { - return iImpl->GetContextL( aContextSource, aContextType ); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::GetContextL -// Version using a fixed context source -// ----------------------------------------------------------------------------- -// -EXPORT_C HBufC* CHgContextUtilityBase::GetContextL( const TDesC& aContextType ) - { - return iImpl->GetContextL( aContextType ); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::PublishContextDelayedL -// ----------------------------------------------------------------------------- -// -EXPORT_C void CHgContextUtilityBase::PublishContextDelayedL( - const TDesC& aContextType, - const TDesC& aContextData, - const TTimeIntervalMicroSeconds32& aDelay ) - { - iImpl->PublishContextDelayedL( aContextType, aContextData, aDelay ); - } - -// ----------------------------------------------------------------------------- -// CHgContextUtilityBase::PublishContextDelayedL -// ----------------------------------------------------------------------------- -// -EXPORT_C void CHgContextUtilityBase::PublishContextDelayedL( - const TDesC& aContextType, - const MDesCArray& aContextData, - const TTimeIntervalMicroSeconds32& aDelay ) - { - iImpl->PublishContextDelayedL( aContextType, aContextData, aDelay ); - } - - -// end of file