wlanutilities/wlansniffer/wlaninfo/inc/wsfwlaninfoarrayfiltervisitor.h
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
equal deleted inserted replaced
23:b852595f5cbe 24:63be7eb3fc78
     1 /*
       
     2 * Copyright (c) 2007-2007 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:  Class header for MWsfWlanInfoArrayFilterVisitor
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef M_WSFWLANINFOARRAYFILTERVISITOR_H
       
    21 #define M_WSFWLANINFOARRAYFILTERVISITOR_H
       
    22 
       
    23 //  EXTERNAL INCLUDES
       
    24 #include <e32def.h>
       
    25 #include <e32base.h>
       
    26 
       
    27 
       
    28 //  FORWARD DECLARATIONS
       
    29 class CWsfWlanInfoArray;
       
    30 
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 /**
       
    34  * Abstract interface for CWsfWlanInfoArray to allow visitor-like overloading 
       
    35  * for array sorting
       
    36  * @lib wsfwlaninfo.lib
       
    37  * @since S60 5.0
       
    38  */
       
    39 class MWsfWlanInfoArrayFilterVisitor 
       
    40     {
       
    41     public:     // Destructor
       
    42 		/**
       
    43 		* Destructor
       
    44 		*/
       
    45         virtual ~MWsfWlanInfoArrayFilterVisitor() {}
       
    46 
       
    47 	public:	
       
    48 		/**
       
    49 		* Execute presort before starting the actual sorting
       
    50 		* @since S60 5.0
       
    51 		* @param aArray The array to work on
       
    52 		*/
       
    53 		virtual void FilterPreSortL( CWsfWlanInfoArray* aArray ) = 0;
       
    54 		
       
    55 		/**
       
    56 		* Run postsort after he actual sorting is executed
       
    57 		* @since S60 5.0
       
    58 		* @param aArray The array to work on
       
    59 		*/
       
    60 		virtual void FilterPostSortL( CWsfWlanInfoArray* aArray ) = 0;
       
    61                 
       
    62         /**        
       
    63         * Return the handle for sorting key
       
    64 		* @since S60 5.0
       
    65 		* @return The handle for the sorting key
       
    66         */        
       
    67         virtual TKeyArrayFix& SortingKey() = 0; 
       
    68                
       
    69     };
       
    70 
       
    71 #endif      //  M_WSFWLANINFOARRAYFILTERVISITOR_H
       
    72 
       
    73 // End of file