1.1 --- a/epoc32/include/remcon/remconextapi1.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,82 +0,0 @@
1.4 -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// 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
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -
1.20 -
1.21 -/**
1.22 - @file
1.23 - @publishedPartner
1.24 - @released
1.25 -*/
1.26 -
1.27 -#ifndef REMCONEXTAPI1_H
1.28 -#define REMCONEXTAPI1_H
1.29 -
1.30 -#include <e32base.h>
1.31 -
1.32 -// 'ExtApi1' constants apply to both interfaces within the ExtApi1 DLL, i.e.
1.33 -// both the TrackInfo and AbsVol APIs.
1.34 -
1.35 -/** Offset in the operation-specific data of the 'result' (this field exists
1.36 -in both commands and responses, but logically only applies to responses). */
1.37 -const TUint KRemConExtApi1ResultDataOffset = 0;
1.38 -
1.39 -/** Length of the results data/field in bytes. */
1.40 -const TUint KRemConExtApi1ResultDataLength = 4;
1.41 -
1.42 -/** Used for checking operation-specific data. The operation-specific data of
1.43 -an ExtApi1 message must always contain at least a results field, so the length
1.44 -of the results field is the minimum length of this 'packet'. */
1.45 -const TUint KRemConExtApi1MinimumDataLength = KRemConExtApi1ResultDataLength;
1.46 -
1.47 -/**
1.48 -The UID identifying the Track Info outer-layer RemCon interface.
1.49 -*/
1.50 -const TInt KRemConTrackInfoApiUid = 0x10206863;
1.51 -
1.52 -/**
1.53 -Operation ids belonging to the Track Info interface.
1.54 -These are public so bearers/converters can access them.
1.55 -*/
1.56 -enum TRemConTrackInfoOperationId
1.57 - {
1.58 - /** Get track name. */
1.59 - ERemConGetTrackName = 0x00,
1.60 - /** Set track name. */
1.61 - ERemConSetTrackName = 0x01,
1.62 - /** Get artist. */
1.63 - ERemConGetArtist = 0x02,
1.64 - /** Get track duration. */
1.65 - ERemConGetTrackDuration = 0x03,
1.66 - };
1.67 -
1.68 -/**
1.69 -The UID identifying the Abs Vol outer-layer RemCon interface.
1.70 -*/
1.71 -const TInt KRemConAbsVolApiUid = 0x1020831D;
1.72 -
1.73 -/**
1.74 -Operation ids belonging to the Abs Vol interface.
1.75 -These are public so bearers/converters can access them.
1.76 -*/
1.77 -enum TRemConAbsVolOperationId
1.78 - {
1.79 - /** Get absolute volume. */
1.80 - ERemConGetAbsoluteVolume = 0x00,
1.81 - /** Set absolute volume. */
1.82 - ERemConSetAbsoluteVolume = 0x01,
1.83 - };
1.84 -
1.85 -#endif // REMCONEXTAPI1_H