phoneapp/phoneuiutils/inc/rphoneanimclearblacklist.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 /*
       
     2 * Copyright (c) 2002 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:  Client side for blacklist clearing plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef RPHONEANIMCLEARBLACKLIST_H
       
    20 #define RPHONEANIMCLEARBLACKLIST_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <w32std.h>     // RAnim
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CCoeControl;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Blacklist clearing plugin client side object.
       
    32 *
       
    33 * Used to clear DOS side blacklist. Window server Plug-in.
       
    34 *
       
    35 * @since 1.0
       
    36 */
       
    37 class RPhoneAnimClearBlacklist : public RAnim
       
    38     {
       
    39     public: // Constructors and destructors
       
    40         
       
    41         /** 
       
    42         * Constructor. 
       
    43         * @param aAnimDll This is server side object.
       
    44         */
       
    45         RPhoneAnimClearBlacklist( RAnimDll& aAnimDll );
       
    46         
       
    47         /** 
       
    48         * Construction.
       
    49         * @param aDevice window.
       
    50         */
       
    51         void ConstructL( const RWindowBase& aDevice );
       
    52         
       
    53     public: // New functions
       
    54         
       
    55         /** 
       
    56         * Clear blacklist on next key press.
       
    57         * This function should be called in startup and after every call.
       
    58         */
       
    59         void ClearBlackListOnNextKey();
       
    60         
       
    61         /** 
       
    62         * Clear blacklist on PhoneCommand.
       
    63         * This function should be called in when blaclist is wanted to clear.
       
    64         */
       
    65         void ClearBlackListNow();
       
    66     };
       
    67 
       
    68 #endif      // RPHONEANIMCLEARBLACKLIST_H
       
    69 // End of File