libyui  3.3.1
YPath Class Reference

Finds files (e.g. More...

#include <YPath.h>

Public Member Functions

 YPath (const std::string &directory, const std::string &filename)
 Constructor. More...
 
 ~YPath ()
 Destructor.
 
std::string path ()
 Returns the full path of the file if found; if not found just the filename given in constructor.
 
std::string 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.
 

Detailed Description

Finds files (e.g.

plugins or theme pixmaps) recursively inside a directory.

Definition at line 43 of file YPath.h.

Constructor & Destructor Documentation

◆ YPath()

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.

Here is the call graph for this function:

The documentation for this class was generated from the following files: