diff -r 000000000000 -r 5f000ab63145 phoneapp/phoneuiutils/inc/rphoneanimclearblacklist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneapp/phoneuiutils/inc/rphoneanimclearblacklist.h Mon Jan 18 20:18:27 2010 +0200 @@ -0,0 +1,69 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Client side for blacklist clearing plugin. +* +*/ + + +#ifndef RPHONEANIMCLEARBLACKLIST_H +#define RPHONEANIMCLEARBLACKLIST_H + +// INCLUDES +#include // RAnim + +// FORWARD DECLARATIONS +class CCoeControl; + +// CLASS DECLARATION + +/** +* Blacklist clearing plugin client side object. +* +* Used to clear DOS side blacklist. Window server Plug-in. +* +* @since 1.0 +*/ +class RPhoneAnimClearBlacklist : public RAnim + { + public: // Constructors and destructors + + /** + * Constructor. + * @param aAnimDll This is server side object. + */ + RPhoneAnimClearBlacklist( RAnimDll& aAnimDll ); + + /** + * Construction. + * @param aDevice window. + */ + void ConstructL( const RWindowBase& aDevice ); + + public: // New functions + + /** + * Clear blacklist on next key press. + * This function should be called in startup and after every call. + */ + void ClearBlackListOnNextKey(); + + /** + * Clear blacklist on PhoneCommand. + * This function should be called in when blaclist is wanted to clear. + */ + void ClearBlackListNow(); + }; + +#endif // RPHONEANIMCLEARBLACKLIST_H +// End of File