diff -r 6ca72c0fe49a -r a941bc465d9f wvuing/wvuipresence/inc/CAPresenceManager.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/wvuipresence/inc/CAPresenceManager.h Wed Sep 01 12:31:13 2010 +0100 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2002-2005 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: Factory for presence manager +* +*/ + + + +#ifndef CAPRESENCEMANAGER_H +#define CAPRESENCEMANAGER_H + +// INCLUDES +#include + +// FORWARD DECLARATIONS +class MCAPresence; +class MCASettings; + +// CLASS DECLARATION + +/** +* Factory for presence manager. +* +* @lib CAPresence.dll +* @since 2.1 +*/ +class CAPresenceManager // CSI: 51 # This is not a C-class + // although it begins with C. + { + public: // New functions + + /** + * Creates instance of presence manager + * @since 2.1 + * @param aSettingsAPI Pointer to settings API. First call of InstanceL- + * method must have valid settings API pointer, otherwise InstanceL will + * leave. Next calls can be made without aSettingsAPI parameter. + * @return MCAPresence pointer + */ + IMPORT_C static MCAPresence* InstanceL( MCASettings* aSettingsAPI = NULL ); + + /** + * Release the instance from TLS + * @since 2.1 + */ + IMPORT_C static void Release(); + }; + +#endif // CAPRESENCEMANAGER_H + +// End of File