#include <YPath.h>
|
| YPath (const std::string &directory, const std::string &filename) |
|
| ~YPath () |
|
std::string | path () |
|
std::string | dir () |
|
Finds files (e.g. plugins or theme pixmaps) recursively inside a directory.
Definition at line 43 of file YPath.h.
YPath::YPath |
( |
const std::string & |
directory, |
|
|
const std::string & |
filename |
|
) |
| |
Constructor
to be called with the directory where to look inside and filename which to lookup.
YSettings::progSubDir will be preferred by the lookup.
Definition at line 47 of file YPath.cc.
std::string YPath::dir |
( |
| ) |
|
Returns the directory where the file is found; if not found just the subdir part (if there's any) of the filename given in constructor.
Definition at line 176 of file YPath.cc.
std::string YPath::path |
( |
| ) |
|
Returns the full path of the file if found; if not found just the filename given in constructor.
Definition at line 171 of file YPath.cc.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-libyui-master-3.0.10/src/YPath.h
- /builddir/build/BUILD/libyui-libyui-master-3.0.10/src/YPath.cc