williamr@2
|
1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
2 |
// All rights reserved.
|
williamr@2
|
3 |
// This component and the accompanying materials are made available
|
williamr@2
|
4 |
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
|
williamr@2
|
5 |
// which accompanies this distribution, and is available
|
williamr@2
|
6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
7 |
//
|
williamr@2
|
8 |
// Initial Contributors:
|
williamr@2
|
9 |
// Nokia Corporation - initial contribution.
|
williamr@2
|
10 |
//
|
williamr@2
|
11 |
// Contributors:
|
williamr@2
|
12 |
//
|
williamr@2
|
13 |
// Description:
|
williamr@2
|
14 |
//
|
williamr@2
|
15 |
|
williamr@2
|
16 |
|
williamr@2
|
17 |
|
williamr@2
|
18 |
/**
|
williamr@2
|
19 |
@file
|
williamr@2
|
20 |
@publishedAll
|
williamr@2
|
21 |
@released
|
williamr@2
|
22 |
*/
|
williamr@2
|
23 |
|
williamr@2
|
24 |
#ifndef REMCONSTATUSAPICONTROLLEROBSERVER_H
|
williamr@2
|
25 |
#define REMCONSTATUSAPICONTROLLEROBSERVER_H
|
williamr@2
|
26 |
|
williamr@2
|
27 |
#include <e32std.h>
|
williamr@2
|
28 |
|
williamr@2
|
29 |
/**
|
williamr@2
|
30 |
Interface to observe responses from a Status API controller.
|
williamr@2
|
31 |
@publishedAll
|
williamr@2
|
32 |
@released
|
williamr@2
|
33 |
*/
|
williamr@2
|
34 |
class MRemConStatusApiControllerObserver
|
williamr@2
|
35 |
{
|
williamr@2
|
36 |
public:
|
williamr@2
|
37 |
/** A UnitInfo response has been received.
|
williamr@2
|
38 |
|
williamr@2
|
39 |
For details on the meanings on the fields please refer to the
|
williamr@2
|
40 |
AV/C Digital Interface Command Set General Specification,
|
williamr@2
|
41 |
section 11.2.1.
|
williamr@2
|
42 |
|
williamr@2
|
43 |
If all values are zero there was an error with the command.
|
williamr@2
|
44 |
@param aVendorId The VendorId
|
williamr@2
|
45 |
@param aUnit Unit
|
williamr@2
|
46 |
@param aUnitType UnitType
|
williamr@2
|
47 |
@param aExtendedUnitType Extended Unit type. This data is only
|
williamr@2
|
48 |
valid if Unit type is 0x1e. The second byte is only valid
|
williamr@2
|
49 |
if the first byte is 0xff.
|
williamr@2
|
50 |
*/
|
williamr@2
|
51 |
virtual void MrcsacoUnitInfoResponse(TInt aVendorId,
|
williamr@2
|
52 |
TInt aUnit,
|
williamr@2
|
53 |
TInt aUnitType,
|
williamr@2
|
54 |
TInt aExtendedUnitType) = 0;
|
williamr@2
|
55 |
|
williamr@2
|
56 |
/** A SubunitInfo response has been received.
|
williamr@2
|
57 |
|
williamr@2
|
58 |
For details on the meanings on the fields please
|
williamr@2
|
59 |
refer to the AV/C Digital Interface Command Set
|
williamr@2
|
60 |
General Specification, section 11.2.2.
|
williamr@2
|
61 |
|
williamr@2
|
62 |
If all values are zero there was an error with the command.
|
williamr@2
|
63 |
@param aPage Page
|
williamr@2
|
64 |
@param aExtension Extension.
|
williamr@2
|
65 |
@param aPageData Page Data. This data remains valid only for
|
williamr@2
|
66 |
the duration of this call. If the client wishes to store
|
williamr@2
|
67 |
the data it must be copied.
|
williamr@2
|
68 |
*/
|
williamr@2
|
69 |
virtual void MrcsacoSubunitInfoResponse(TInt aPage,
|
williamr@2
|
70 |
TInt aExtension,
|
williamr@2
|
71 |
TDesC8& aPageData) = 0;
|
williamr@2
|
72 |
|
williamr@2
|
73 |
/**
|
williamr@2
|
74 |
Returns a null aObject if the extension is not implemented, or
|
williamr@2
|
75 |
a pointer to another interface if it is.
|
williamr@2
|
76 |
|
williamr@2
|
77 |
@param aInterface UID of the interface to return
|
williamr@2
|
78 |
@param aObject the container for another interface as specified by aInterface
|
williamr@2
|
79 |
*/
|
williamr@2
|
80 |
IMPORT_C virtual void Mrcsaco_ExtensionInterfaceL(TUid aInterface, void*& aObject);
|
williamr@2
|
81 |
};
|
williamr@2
|
82 |
|
williamr@2
|
83 |
#endif // REMCONSTATUSAPICONTROLLEROBSERVER_H
|