Christopher Wiley | 2f77417 | 2015-08-30 10:57:07 -0700 | [diff] [blame^] | 1 | #ifndef AIDL_SEARCH_PATH_H_ |
| 2 | #define AIDL_SEARCH_PATH_H_ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 3 | |
| 4 | #include <stdio.h> |
| 5 | |
| 6 | #if __cplusplus |
| 7 | #include <vector> |
| 8 | #include <string> |
Christopher Wiley | 1eaa9ed | 2015-08-24 14:07:32 -0700 | [diff] [blame] | 9 | |
| 10 | using std::string; |
| 11 | using std::vector; |
| 12 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 13 | extern "C" { |
| 14 | #endif |
| 15 | |
| 16 | // returns a FILE* and the char* for the file that it found |
| 17 | // given is the class name we're looking for |
| 18 | char* find_import_file(const char* given); |
| 19 | |
| 20 | #if __cplusplus |
| 21 | }; // extern "C" |
| 22 | void set_import_paths(const vector<string>& importPaths); |
| 23 | #endif |
| 24 | |
Christopher Wiley | 2f77417 | 2015-08-30 10:57:07 -0700 | [diff] [blame^] | 25 | #endif // AIDL_SEARCH_PATH_H_ |