epoc32/include/app/MVPbkContactOperation.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/MVPbkContactOperation.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,57 @@
     1.4 +/*
     1.5 +* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  Virtual Phonebook abstract asynchronous contact operation.
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +#ifndef MVPBKCONTACTOPERATION_H
    1.23 +#define MVPBKCONTACTOPERATION_H
    1.24 +
    1.25 +// INCLUDES
    1.26 +#include "mvpbkcontactoperationbase.h"
    1.27 +
    1.28 +// CLASS DECLARATIONS
    1.29 +
    1.30 +/**
    1.31 + * Virtual Phonebook abstract asynchronous contact operation.
    1.32 + * The operation can be cancelled by deleting the operation object.
    1.33 + */
    1.34 +class MVPbkContactOperation : 
    1.35 +        public MVPbkContactOperationBase
    1.36 +    {
    1.37 +    public:  // Interface
    1.38 +        /**
    1.39 +         * Starts the contact operation.
    1.40 +         */
    1.41 +        virtual void StartL() =0;
    1.42 +
    1.43 +        /**
    1.44 +         * Cancels the operation.
    1.45 +         */
    1.46 +        virtual void Cancel() =0;
    1.47 +
    1.48 +        /**
    1.49 +         * Returns an extension point for this interface or NULL.
    1.50 +         * @param aExtensionUid Uid of extension.
    1.51 +         * @return Extension point or NULL.
    1.52 +         */
    1.53 +        virtual TAny* ContactOperationExtension(
    1.54 +                TUid /*aExtensionUid*/) { return NULL; }
    1.55 +    };
    1.56 +
    1.57 +#endif // MVPBKCONTACTOPERATION_H
    1.58 +
    1.59 +// End of file
    1.60 +