vtuis/videotelui/inc/commands/cvtuicmdvalidationactionbase.h
changeset 18 d9b6a8729acd
parent 4 6dc066157ed4
child 23 c378a0498b84
child 27 dcbddbbaf8fd
--- a/vtuis/videotelui/inc/commands/cvtuicmdvalidationactionbase.h	Tue Jan 26 12:01:21 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-/*
-* Copyright (c) 2007 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:  Command validation action base class definition.
-*
-*/
-
-
-#ifndef C_VTUICMDVALIDATIONACTIONBASE_H
-#define C_VTUICMDVALIDATIONACTIONBASE_H
-
-#include <e32base.h>
-
-class CVtUiCmdValidatorBase;
-class MVtUiCmdValidatorCallBack;
-
-/**
- *  CVtUiCmdValidationActionBase
- *
- *  Command validation action base class.
- *
- *  @since S60 v3.2
- */
-NONSHARABLE_CLASS( CVtUiCmdValidationActionBase ) : public CBase
-    {
-
-public: // public methods
-
-    /**
-     * C++ destructor.
-     */
-    ~CVtUiCmdValidationActionBase();
-
-    /**
-     * Called when validation process is about to begin. Resets internal
-     * variables.
-     */
-    virtual void BeginProcess();
-
-    /**
-     * Called when validation process has finished.
-     */
-    virtual void EndProcess();
-
-public: // pure virtual methods
-
-    /**
-     * Execute validation process.
-     *
-     * @param aCallBack Action validation callback routine that will be called
-     * for every item to be validated.
-     */
-    virtual void ProcessL( const MVtUiCmdValidatorCallBack& aCallBack ) = 0;
-
-protected:
-
-    /**
-     * Mark command handled.
-     *
-     * @param aCommandId Id of command that was handled.
-     */
-    void CommandHandledL( TInt aCommandId );
-
-    /**
-     * Check whether command is already handled or not.
-     *
-     * @param aCommandId Id of command to be checked.
-     * @return ETrue if command was already handler, EFalse otherwise.
-     */
-    TBool IsCommandHandled( TInt aCommandId ) const;
-
-private: // data
-
-    // Array of handled commands.
-    RArray< TInt > iHandledCommands;
-
-    };
-
-#endif // C_VTUICMDVALIDATIONACTIONBASE_H