Home | History | Annotate | Download | only in src
      1 /*
      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  */
     16 
     17 #ifndef __MPH_to_H
     18 #define __MPH_to_H
     19 
     20 /** \brief Map minimal perfect hash of an interface ID to its class index. */
     21 
     22 extern 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],
     32     MPH_to_Vibra[MPH_MAX],
     33     MPH_to_MediaPlayer[MPH_MAX];
     34 
     35 /** \brief Maximum number of interfaces on a single object. */
     36 #define MAX_INDEX 32
     37 
     38 #endif // !defined(__MPH_to_H)
     39