phoneapp/phoneuiutils/src/rphoneanimclearblacklist.cpp
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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 // INCLUDE FILES
       
    20 #include "rphoneanimclearblacklist.h"   // This
       
    21 #include <coecntrl.h>                   // CCoeControl
       
    22 #include <phoneanimdllstd.h>            // Command
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // RPhoneAnimClearBlacklist::RPhoneAnimClearBlacklist
       
    28 // ---------------------------------------------------------
       
    29 //
       
    30 RPhoneAnimClearBlacklist::RPhoneAnimClearBlacklist( RAnimDll& aAnimDll )
       
    31     :RAnim( aAnimDll )
       
    32     {
       
    33     }
       
    34 
       
    35 // ---------------------------------------------------------
       
    36 // RPhoneAnimClearBlacklist::ConstructL
       
    37 // ---------------------------------------------------------
       
    38 //
       
    39 void RPhoneAnimClearBlacklist::ConstructL( const RWindowBase& aDevice )
       
    40     {
       
    41     // Creates a server side anim class
       
    42     RAnim::Construct( aDevice, EAnimClearBlackList, TPtrC8() );
       
    43     }
       
    44 
       
    45 // ---------------------------------------------------------
       
    46 // RPhoneAnimClearBlacklist::ClearBlackListOnNextKey()
       
    47 //
       
    48 //  Tells to plugin to clear list on next key event.
       
    49 // ---------------------------------------------------------
       
    50 //
       
    51 void RPhoneAnimClearBlacklist::ClearBlackListOnNextKey()
       
    52     {
       
    53     Command( ECancelBlackList );
       
    54     }
       
    55 
       
    56 // ---------------------------------------------------------
       
    57 // RPhoneAnimClearBlacklist::ClearBlackList()
       
    58 //
       
    59 //  Tells to plugin to clear list.
       
    60 // ---------------------------------------------------------
       
    61 //
       
    62 void RPhoneAnimClearBlacklist::ClearBlackListNow()
       
    63     {
       
    64     Command( EClearBlackListNow );
       
    65     }
       
    66 //  End of File