equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2006 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 * This class defines a generic observer interface. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MVROBSERVER_H__ |
|
21 #define __MVROBSERVER_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "VRConsts.h" |
|
25 |
|
26 // CLASS DEFINITION |
|
27 /** |
|
28 * This class defines a generic observer interface. |
|
29 */ |
|
30 class MVRObserver |
|
31 { |
|
32 public: // new methods |
|
33 |
|
34 /** |
|
35 * Called to notify a change in the observed subject's state. |
|
36 */ |
|
37 virtual void Update( TVRUpdateCommand aCommand = EVRUpdate ) = 0; |
|
38 |
|
39 }; |
|
40 |
|
41 #endif // __MVROBSERVER_H__ |