Christopher Wiley 2f77417cce aidl: Pull main() into dedicated file
This separates the main() entry point from the functionality we're
hoping to test.  While here, redo the header guards to be consistent
accross the codebae.

Bug: 23516947
Change-Id: I61666126bdba0941f14bd0f031caaa30367b864a
Test: Compiles
2015-08-31 10:54:26 -07:00

26 lines
468 B
C++

#ifndef AIDL_SEARCH_PATH_H_
#define AIDL_SEARCH_PATH_H_
#include <stdio.h>
#if __cplusplus
#include <vector>
#include <string>
using std::string;
using std::vector;
extern "C" {
#endif
// returns a FILE* and the char* for the file that it found
// given is the class name we're looking for
char* find_import_file(const char* given);
#if __cplusplus
}; // extern "C"
void set_import_paths(const vector<string>& importPaths);
#endif
#endif // AIDL_SEARCH_PATH_H_