StelFileMgr.hpp   StelFileMgr.hpp 
skipping to change at line 81 skipping to change at line 81
//! the path parameter, e.g. path="./my_config_file_in_the_pwd.ini" //! the path parameter, e.g. path="./my_config_file_in_the_pwd.ini"
//! @param path the name of the file to search for, for example "tex tures/fog.png". //! @param path the name of the file to search for, for example "tex tures/fog.png".
//! @param flags options which constrain the result. //! @param flags options which constrain the result.
//! @return returns a full path of the file if found, else return an empty path. //! @return returns a full path of the file if found, else return an empty path.
//! @exception std::runtime_error what() -> "file not found: [filena me]" //! @exception std::runtime_error what() -> "file not found: [filena me]"
//! @exception std::runtime_error what() -> "file does not match fla gs: [fullpath]". //! @exception std::runtime_error what() -> "file does not match fla gs: [fullpath]".
//! This exception occurs if a full path is passes at th e path argument, but //! This exception occurs if a full path is passes at th e path argument, but
//! that path does not match the flags specified. //! that path does not match the flags specified.
static QString findFile(const QString& path, const Flags& flags=(Fla gs)0); static QString findFile(const QString& path, const Flags& flags=(Fla gs)0);
//! List all paths witihin the search paths that match the argument.
//! Similar to findFile(), but unlike it this function doesn't stop
//! at the first instance. Instead, it returns a list of paths to al
l
//! instances. The list is ordered, starting with the most external
path
//! (the first one in fileLocations).
static QStringList findFileInAllPaths(const QString& path, const Fla
gs& flags=(Flags)0);
//! Set a set of all possible files/directories in any Stellarium se arch directory //! Set a set of all possible files/directories in any Stellarium se arch directory
//! @param path the path to search inside, e.g. "landscapes" //! @param path the path to search inside, e.g. "landscapes"
//! @param flags options which constrain the result //! @param flags options which constrain the result
//! @param recursive if true, all sub-directories are walked recursi vely //! @param recursive if true, all sub-directories are walked recursi vely
//! @return returns a QSet of file and.or directory names, which are available //! @return returns a QSet of file and.or directory names, which are available
//! in any of the search paths + path. Returns empty set if none we re found //! in any of the search paths + path. Returns empty set if none we re found
//! or the path is invalid (not a directory / not existing). //! or the path is invalid (not a directory / not existing).
static QSet<QString> listContents(const QString& path, const Flags& flags=(Flags)0, bool recursive=false); static QSet<QString> listContents(const QString& path, const Flags& flags=(Flags)0, bool recursive=false);
//! Get a vector of strings which describes the current search paths . //! Get a vector of strings which describes the current search paths .
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/