ncdengine/inc/ncdcreateaccesspointoperation.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Create access point operation interface definition
       
    15 *
       
    16 */
       
    17 	
       
    18 
       
    19 #ifndef M_NCD_CREATEACCESSPOINT_OPERATION_H
       
    20 #define M_NCD_CREATEACCESSPOINT_OPERATION_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 
       
    24 #include "ncdoperation.h"
       
    25 #include "ncdinterfaceids.h"
       
    26 
       
    27 class MNcdCreateAccessPointOperationObserver;
       
    28 
       
    29 /**
       
    30  *  Create accesspoint operation interface.
       
    31  *
       
    32  *  @note A new accesspoint is not created if a matching accesspoint
       
    33  *  already exists
       
    34  *
       
    35  *  
       
    36  *  @see MNcdCreateAccessPointOperationObserver
       
    37  */
       
    38 class MNcdCreateAccessPointOperation : public MNcdOperation
       
    39     {
       
    40     
       
    41 public:
       
    42 
       
    43     /**
       
    44      * Unique identifier for the interface, required for all MCatalogsBase interfaces.
       
    45      *
       
    46      * 
       
    47      */
       
    48     enum { KInterfaceUid = ENcdCreateAccessPointOperationUid };    
       
    49     
       
    50 
       
    51     /**
       
    52      * Returns the id of the created accesspoint
       
    53      *
       
    54      * @return Accesspoint id or 0 if the operation has not finished yet
       
    55      */
       
    56     virtual TUint32 AccessPoint() const = 0;
       
    57 
       
    58 protected:
       
    59 
       
    60     /**
       
    61     * Destructor.
       
    62     *
       
    63     * @see MCatalogsBase::~MCatalogsBase
       
    64     */
       
    65     virtual ~MNcdCreateAccessPointOperation() {}
       
    66 
       
    67     };
       
    68 	
       
    69 	
       
    70 #endif //  M_NCD_CREATEACCESSPOINT_OPERATION_H