usbmgmt/usbmgr/device/classdrivers/acm/classimplementation/ecacm/inc/BreakObserver.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-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 #ifndef __BREAKOBSERVER_H__ |
|
19 #define __BREAKOBSERVER_H__ |
|
20 |
|
21 #include <e32std.h> |
|
22 |
|
23 class MBreakObserver |
|
24 /** |
|
25 * Interface for notifications of break changes. |
|
26 */ |
|
27 { |
|
28 public: |
|
29 /** |
|
30 * Called when an MBreakObserver-requested break has completed. |
|
31 */ |
|
32 virtual void BreakRequestCompleted() = 0; |
|
33 /** |
|
34 * Called when the break state has changed (i.e. it has been off and gone |
|
35 * either timed or locked, or if it was on and has gone off). |
|
36 */ |
|
37 virtual void BreakStateChange() = 0; |
|
38 }; |
|
39 |
|
40 #endif // __BREAKOBSERVER_H__ |