panda3d/ppremake/find_searchpath.h
2000-10-11 23:38:03 +00:00

21 lines
499 B
C++

// Filename: find_searchpath.h
// Created by: drose (09Oct00)
//
////////////////////////////////////////////////////////////////////
#ifndef FIND_SEARCHPATH_H
#define FIND_SEARCHPATH_H
#include "ppremake.h"
#include <vector>
// Searchs for the given filename along the indicated set of
// directories, and returns the first place in which it is found, or
// empty string if it is not found.
string find_searchpath(const vector<string> &directories,
const string &filename);
#endif