locationtriggering/ltcontainer/inc/lbtdeleteasyncoperation.h
author hgs
Wed, 03 Nov 2010 23:28:39 +0530
changeset 56 4e949f03ecc5
permissions -rw-r--r--
201044
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description:  Abstract base class for location triggering entries
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef C_LBT_DELETE_ASYNCOPERATION_H
hgs
parents:
diff changeset
    20
#define C_LBT_DELETE_ASYNCOPERATION_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
hgs
parents:
diff changeset
    23
#include <lbtcommon.h>
hgs
parents:
diff changeset
    24
#include <lbttriggerdynamicinfo.h>
hgs
parents:
diff changeset
    25
#include "lbtcontainerupdatefilter.h"
hgs
parents:
diff changeset
    26
#include "lbtcontainerAOOperation.h"
hgs
parents:
diff changeset
    27
#include "lbtsecuritypolicy.h"
hgs
parents:
diff changeset
    28
       	
hgs
parents:
diff changeset
    29
/**
hgs
parents:
diff changeset
    30
 * This is the  class used hold the data sent by the client in case of 
hgs
parents:
diff changeset
    31
 * asynchronous delete operations 
hgs
parents:
diff changeset
    32
 */       	
hgs
parents:
diff changeset
    33
NONSHARABLE_CLASS( CLbtDeleteAsyncOperation ) : public CLbtContainerAOOperation
hgs
parents:
diff changeset
    34
    {
hgs
parents:
diff changeset
    35
public:
hgs
parents:
diff changeset
    36
  
hgs
parents:
diff changeset
    37
    
hgs
parents:
diff changeset
    38
        
hgs
parents:
diff changeset
    39
     /**
hgs
parents:
diff changeset
    40
     * Constructs a new instance of container trigger entry object.
hgs
parents:
diff changeset
    41
     *
hgs
parents:
diff changeset
    42
     * @return The new instance of the container trigger entry object.
hgs
parents:
diff changeset
    43
     */
hgs
parents:
diff changeset
    44
     static CLbtDeleteAsyncOperation* NewL( CLbtContainerUpdateFilter* aFilter,
hgs
parents:
diff changeset
    45
     										TRequestStatus& aClientStatus,
hgs
parents:
diff changeset
    46
     										TLbtSecurityPolicy aSecurityPolicy );
hgs
parents:
diff changeset
    47
    
hgs
parents:
diff changeset
    48
        
hgs
parents:
diff changeset
    49
     virtual void StartAOOperationL(MLbtTriggerStore* aStore,TRequestStatus &aStatus) ;
hgs
parents:
diff changeset
    50
    
hgs
parents:
diff changeset
    51
     virtual TRequestStatus* GetStatus();
hgs
parents:
diff changeset
    52
    
hgs
parents:
diff changeset
    53
    /**
hgs
parents:
diff changeset
    54
     * Destructor
hgs
parents:
diff changeset
    55
     */
hgs
parents:
diff changeset
    56
     virtual ~CLbtDeleteAsyncOperation();
hgs
parents:
diff changeset
    57
	
hgs
parents:
diff changeset
    58
private:
hgs
parents:
diff changeset
    59
    /**
hgs
parents:
diff changeset
    60
     * Constructor.
hgs
parents:
diff changeset
    61
     */
hgs
parents:
diff changeset
    62
 	  CLbtDeleteAsyncOperation(TLbtSecurityPolicy aSecurityPolicy);
hgs
parents:
diff changeset
    63
                    
hgs
parents:
diff changeset
    64
      void ConstructL(CLbtContainerUpdateFilter* aFilter,TRequestStatus& aClientStatus);     
hgs
parents:
diff changeset
    65
      
hgs
parents:
diff changeset
    66
      TContainerAOOperation GetAOOperationType();     
hgs
parents:
diff changeset
    67
       
hgs
parents:
diff changeset
    68
private:    
hgs
parents:
diff changeset
    69
    TRequestStatus* iClientStatus;
hgs
parents:
diff changeset
    70
    
hgs
parents:
diff changeset
    71
    CLbtContainerUpdateFilter* iFilter;
hgs
parents:
diff changeset
    72
    
hgs
parents:
diff changeset
    73
    TLbtSecurityPolicy iSecurityPolicy;
hgs
parents:
diff changeset
    74
    };
hgs
parents:
diff changeset
    75
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
#endif // C_LBT_DELETE_ASYNCOPERATION_H