williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@4
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@4
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description: This file contains definitions of audio effects data structures for
|
williamr@2
|
15 |
* location.
|
williamr@2
|
16 |
*
|
williamr@2
|
17 |
*/
|
williamr@2
|
18 |
|
williamr@2
|
19 |
|
williamr@2
|
20 |
|
williamr@2
|
21 |
#ifndef TEFLOCATION_H
|
williamr@2
|
22 |
#define TEFLOCATION_H
|
williamr@2
|
23 |
|
williamr@2
|
24 |
// INCLUDES
|
williamr@2
|
25 |
#include <e32std.h>
|
williamr@2
|
26 |
#include <AudioEffectData.h>
|
williamr@2
|
27 |
|
williamr@2
|
28 |
// CLASS DECLARATION
|
williamr@2
|
29 |
|
williamr@2
|
30 |
/**
|
williamr@2
|
31 |
* This class defines the effect data structure to be passed between client and
|
williamr@2
|
32 |
* server.
|
williamr@2
|
33 |
*
|
williamr@2
|
34 |
* @lib LocationEffect.lib
|
williamr@2
|
35 |
* @since 3.0
|
williamr@2
|
36 |
*/
|
williamr@2
|
37 |
|
williamr@2
|
38 |
|
williamr@2
|
39 |
|
williamr@2
|
40 |
class TEfLocation : public TEfCommon
|
williamr@2
|
41 |
{
|
williamr@2
|
42 |
public:
|
williamr@2
|
43 |
|
williamr@2
|
44 |
/**
|
williamr@2
|
45 |
* Constructor.
|
williamr@2
|
46 |
*/
|
williamr@2
|
47 |
TEfLocation() {}
|
williamr@2
|
48 |
|
williamr@2
|
49 |
/**
|
williamr@2
|
50 |
* Constructor.
|
williamr@2
|
51 |
*/
|
williamr@2
|
52 |
TEfLocation( TInt32 aXCoordinate, TInt32 aYCoordinate, TInt32 aZCoordinate,
|
williamr@2
|
53 |
TInt32 aAzimuth, TInt32 aElevation, TInt32 aRadius ):
|
williamr@2
|
54 |
iXCoordinate(aXCoordinate), iYCoordinate(aYCoordinate), iZCoordinate(aZCoordinate),
|
williamr@2
|
55 |
iAzimuth(aAzimuth), iElevation(aElevation), iRadius(aRadius) {}
|
williamr@2
|
56 |
|
williamr@2
|
57 |
// Data
|
williamr@2
|
58 |
// Location values of a location object
|
williamr@2
|
59 |
TInt32 iXCoordinate;
|
williamr@2
|
60 |
TInt32 iYCoordinate;
|
williamr@2
|
61 |
TInt32 iZCoordinate;
|
williamr@2
|
62 |
TInt32 iAzimuth;
|
williamr@2
|
63 |
TInt32 iElevation;
|
williamr@2
|
64 |
TInt32 iRadius;
|
williamr@2
|
65 |
|
williamr@2
|
66 |
};
|
williamr@2
|
67 |
|
williamr@2
|
68 |
typedef TPckgBuf<TEfLocation> TEfLocationDataPckg;
|
williamr@2
|
69 |
|
williamr@2
|
70 |
#endif // TEFLOCATION_H
|
williamr@2
|
71 |
|
williamr@2
|
72 |
// End of File
|