blob: 1dc83c4e99ae1fbe474bac4f032ca672d111e367 [file] [log] [blame]
Glenn Kasten40d1c402010-06-21 11:46:55 -07001/*
2 * Copyright (C) 2010 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Glenn Kastenbd3cb772010-05-03 14:39:02 -070016
17#ifndef __MPH_to_H
18#define __MPH_to_H
19
Glenn Kasten369f3132010-07-23 15:45:09 -070020/** \brief Map minimal perfect hash of an interface ID to its class index. */
Glenn Kastenbd3cb772010-05-03 14:39:02 -070021
22extern const signed char
23 MPH_to_3DGroup[MPH_MAX],
24 MPH_to_AudioPlayer[MPH_MAX],
25 MPH_to_AudioRecorder[MPH_MAX],
26 MPH_to_Engine[MPH_MAX],
27 MPH_to_LEDDevice[MPH_MAX],
28 MPH_to_Listener[MPH_MAX],
29 MPH_to_MetadataExtractor[MPH_MAX],
30 MPH_to_MidiPlayer[MPH_MAX],
31 MPH_to_OutputMix[MPH_MAX],
Glenn Kasten8b887502010-11-30 21:05:47 -080032 MPH_to_Vibra[MPH_MAX],
33 MPH_to_MediaPlayer[MPH_MAX];
Glenn Kastenbd3cb772010-05-03 14:39:02 -070034
Jean-Michel Trivi5b09aa82010-09-02 17:48:22 -070035/** \brief Maximum number of interfaces on a single object. */
Glenn Kastene5d006b2010-08-13 13:57:26 -070036#define MAX_INDEX 32
37
Glenn Kastenbd3cb772010-05-03 14:39:02 -070038#endif // !defined(__MPH_to_H)