common/tools/ats/smoketest/inputmethods/inc/TestOcrObserver.h
author victorp@symbian.org
Wed, 03 Feb 2010 16:06:24 +0000
changeset 872 17498133d9ad
parent 758 dd806856a8f6
permissions -rw-r--r--
adding EPL headers to smoke test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
758
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     1
/*
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     2
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     3
* All rights reserved.
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     4
* This component and the accompanying materials are made available
872
17498133d9ad adding EPL headers to smoke test
victorp@symbian.org
parents: 758
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
758
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     6
* which accompanies this distribution, and is available
872
17498133d9ad adding EPL headers to smoke test
victorp@symbian.org
parents: 758
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
758
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     8
*
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
     9
* Initial Contributors:
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    11
*
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    12
* Contributors:
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    13
*
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    14
* Description:  test ocrsrv.h
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    15
 *
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    16
*/
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    17
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    18
#ifndef TESTOCROBSERVER_H
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    19
#define TESTOCROBSERVER_H
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    20
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    21
#include <ocrsrv.h>
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    22
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    23
/**
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    24
 *  CTestNotesControl is used to add setting page control in its window
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    25
 */
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    26
class TTestOcrObserver : public MOCREngineObserver
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    27
    {
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    28
public:
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    29
    // from MOCREngineObserver
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    30
    void RecognizeBlockComplete( TInt /*aError*/, const TOCRTextRgnInfo* /*aBlocks*/, const TInt /*aBlockCount*/ ) {}
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    31
    void RecognizeSpecialRegionComplete( TInt /*aError*/, const TOCRTextRgnInfo* /*aBlocks*/, const TInt /*aBlockCount*/ ) {}
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    32
    void RecognizeComplete( TInt /*aError*/, const TOCRTextRgnInfo* /*aBlocks*/, const TInt /*aBlockCount*/ ) {}
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    33
    void LayoutComplete( TInt /*aError*/, const TOCRBlockInfo* /*aBlocks*/, const TInt /*aBlockCount*/ ) {}
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    34
    void RecognizeProcess( const TUint /*aPercent*/ ) {}
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    35
    };
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    36
dd806856a8f6 Test: Input methods smoke tests added.
brendand
parents:
diff changeset
    37
#endif /*TESTOCROBSERVER_H*/