44#include < pybind11/operators.h>
55
66#include < PathFinder.h>
7+ #include < FindDirectory.h>
8+ #include < package/PackageResolvableExpression.h>
79#include < Path.h>
810
911namespace py = pybind11;
@@ -20,11 +22,11 @@ py::class_<BPathFinder>(m, "BPathFinder")
2022.def (py::init<const void *,const char *>()," " ,py::arg (" codePointer" )=NULL ,py::arg (" dependency" )=NULL )
2123.def (py::init<const char *,const char *>()," " ,py::arg (" path" ),py::arg (" dependency" )=NULL )
2224.def (py::init<const entry_ref &,const char *>()," " ,py::arg (" ref" ),py::arg (" dependency" )=NULL )
23- // .def(py::init<constBResolvableExpression &, const char *>(), "", py::arg("expression"), py::arg("dependency")=NULL)
25+ // .def(py::init<constBPackageKit::BPackageResolvableExpression &, const char *>(), "", py::arg("expression"), py::arg("dependency")=NULL) //BResolvableExpression
2426.def (" SetTo" , py::overload_cast<const void *,const char *>(&BPathFinder::SetTo)," " ,py::arg (" codePointer" )=NULL ,py::arg (" dependency" )=NULL )
2527.def (" SetTo" , py::overload_cast<const char *,const char *>(&BPathFinder::SetTo)," " ,py::arg (" path" ),py::arg (" dependency" )=NULL )
2628.def (" SetTo" , py::overload_cast<const entry_ref &,const char *>(&BPathFinder::SetTo)," " ,py::arg (" ref" ),py::arg (" dependency" )=NULL )
27- // .def("SetTo", py::overload_cast<constBResolvableExpression &, const char *>(&BPathFinder::SetTo), "", py::arg("expression"), py::arg("dependency")=NULL)
29+ // .def("SetTo", py::overload_cast<constBPackageKit::BPackageResolvableExpression &, const char *>(&BPathFinder::SetTo), "", py::arg("expression"), py::arg("dependency")=NULL) //BResolvableExpression
2830.def (" FindPath" , [](BPathFinder& self,const char * architecture,path_base_directory baseDirectory,const char * subPath,unsigned int flags) {
2931 BPath _path;
3032status_t r = self.FindPath (architecture, baseDirectory, subPath, flags, _path);