equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #if ! defined (SCRIPTPROGRESSMONITOR_H_523472E4_3321_4496_9000_3D8878255FD3) |
|
22 #define SCRIPTPROGRESSMONITOR_H_523472E4_3321_4496_9000_3D8878255FD3 |
|
23 |
|
24 class ScriptProgressMonitor |
|
25 { |
|
26 protected: |
|
27 ScriptProgressMonitor(void); |
|
28 ~ScriptProgressMonitor(); |
|
29 |
|
30 public: |
|
31 // Override in a derived class to call-back when a single |
|
32 // command of the current script is processed. |
|
33 virtual void OnCompleteCommand( int command ) = 0; |
|
34 |
|
35 // Override in a derived class to call-back when the |
|
36 // whole of current script is processed. |
|
37 virtual void OnCompleteScript( int scriptExitCode ) = 0; |
|
38 }; |
|
39 |
|
40 inline ScriptProgressMonitor::ScriptProgressMonitor( void ) |
|
41 { |
|
42 ; |
|
43 } |
|
44 |
|
45 inline ScriptProgressMonitor::~ScriptProgressMonitor() |
|
46 { |
|
47 ; |
|
48 } |
|
49 |
|
50 #endif // ! defined (SCRIPTPROGRESSMONITOR_H_523472E4_3321_4496_9000_3D8878255FD3) |