analyzetool/analyzetool_plat/analyzetool_api/inc/analyzetool/analyzetoolcleaner.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
     1 /*
       
     2 * Copyright (c) 2009 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:  Definitions for the class TAnalyzeToolCleanerBase.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __ANALYZETOOLCLEANER_H__
       
    19 #define __ANALYZETOOLCLEANER_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // CONSTANTS
       
    25 #define ATCLEANERTABLESIZE 10
       
    26 #define ATCLEANERTABLE TFixedArray<TUint32, ATCLEANERTABLESIZE>
       
    27 _LIT( KATCleanerDllName, "atoolcleaner.dll" );
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Cleaner base class
       
    33 */
       
    34 class TAnalyzeToolCleanerBase
       
    35     {
       
    36 public:
       
    37     /**
       
    38     * Cleanup function which uninstall allocator
       
    39     */
       
    40     virtual void Cleanup() = 0;
       
    41     };
       
    42 
       
    43 // CLASS DECLARATION
       
    44 
       
    45 /**
       
    46 *  Cleaner class
       
    47 */
       
    48 class THookCleaner
       
    49     {
       
    50 public:
       
    51     /**
       
    52     * C++ default constructor.
       
    53     */
       
    54     THookCleaner();
       
    55     
       
    56     /**
       
    57     * Destructor.
       
    58     */
       
    59     ~THookCleaner();
       
    60     
       
    61     ATCLEANERTABLE iTable;
       
    62     };
       
    63 #endif // __ANALYZETOOLCLEANER_H__