diff -r 65a3ef1d5bd0 -r f742655b05bf voipplugins/dhcppositionprovider/inc/dhcppsysingletonhandler.h --- a/voipplugins/dhcppositionprovider/inc/dhcppsysingletonhandler.h Thu Aug 19 09:45:22 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -/* -* Copyright (c) 2007 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 DHCPPSYSINGLETONHANDLER_H -#define DHCPPSYSINGLETONHANDLER_H - -#include - -class CDhcpPsyRequester; - -// Implements the singleton handler for the dhcpositionprovider module -class CDhcpPsySingletonHandler : public CBase - { - public: // Constructors and destructor - - /** - * Singleton can be only created through GetInstanceL. - */ - static CDhcpPsySingletonHandler* GetInstanceL(); - - /** - * Destructor - */ - virtual ~CDhcpPsySingletonHandler (); - - /** - * Release the reference to singleton handler. If there is no ojbect - * has the reference of this object, it will delete itself. - */ - void ReleaseInstance(); - - public: - - /** - * Requester for positionar usage. - * - */ - CDhcpPsyRequester* Requester (); - - private: - - /** - * Second - phase constructor - */ - void ConstructL (); - - private: - // Reference count - TInt iRefCount; - - // - CDhcpPsyRequester* iPsyRequester; - - }; - -#endif /* DHCPPSYSINGLETONHANDLER_H */