diff -r a3a1ae9acec6 -r da5135c61bad emailcontacts/remotecontactlookup/engine/inc/mpbkxremotecontactlookupserviceui.h --- a/emailcontacts/remotecontactlookup/engine/inc/mpbkxremotecontactlookupserviceui.h Mon Mar 15 12:39:10 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +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: Remote Contact Lookup Service UI interface definition -* -*/ - - -#ifndef MPBKXREMOTECONTACTLOOKUPSERVICEUI_H -#define MPBKXREMOTECONTACTLOOKUPSERVICEUI_H - -#include -#include -#include "cpbkxremotecontactlookupserviceuicontext.h" -#include "cpbkxremotecontactlookupprotocolaccount.h" -#include "tpbkxremotecontactlookupprotocolaccountid.h" - -/** - * Remote Contact Lookup Service UI API - * - * @since S60 3.1 - */ -class MPbkxRemoteContactLookupServiceUi - { - -public: - - /** - * Execution context construction parameters. - */ - class TContextParams - { - public: - /** Protocol account identifier */ - TPbkxRemoteContactLookupProtocolAccountId iProtocolAccountId; - - /** Execution mode */ - CPbkxRemoteContactLookupServiceUiContext::TMode iMode; - }; - - /** - * Returns default account identifier. - * - * @return default account identifier - */ - virtual TPbkxRemoteContactLookupProtocolAccountId DefaultAccountIdL() const = 0; - - /** - * Creates new account with given protocol account identifier. - * - * @param aProtocolAccountId protocol account ID. - * @return protocol account - */ - virtual CPbkxRemoteContactLookupProtocolAccount* NewAccountL( - const TPbkxRemoteContactLookupProtocolAccountId& aProtocolAccountId ) const = 0; - - /** - * Create new execution context. - * - * @param aParams construction parameters - * @return execution context - */ - virtual CPbkxRemoteContactLookupServiceUiContext* NewContextL( - TContextParams& aParams ) const = 0; - }; - -#endif // MPBKXREMOTECONTACTLOOKUPSERVICEUI_H