Skip to content

Commit

Permalink
Documentation|libdeng2: Improved apidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 14, 2012
1 parent 1f666d7 commit 47c5956
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions doomsday/libdeng2/include/de/filesys/nativepath.h
Expand Up @@ -103,11 +103,11 @@ class DENG2_PUBLIC NativePath : public Path
bool isAbsolute() const;

/**
* Replaces symbols and shorthand in the path with the actual paths.
* Expands the legacy native path directives '>' and '}' at the start of
* the path, replacing them with the native base path.
*
* Handles '~' and '~username' on UNIX-based platforms so that a user
* specific home path (taken from passwd) may also be used.
* the path, replacing them with the native base path. Handles '~' and
* '~username' on UNIX-based platforms so that a user specific home path
* (taken from passwd) may also be used.
*
* @param didExpand If specified, this value will be set to true if
* path expansion was done.
Expand All @@ -119,15 +119,15 @@ class DENG2_PUBLIC NativePath : public Path
NativePath expand(bool *didExpand = 0) const;

/**
* Forms a prettier version of the path, where commonly known paths are
* omitted from the path if one is present in the beginning. The omitted
* part is replaced with a symbol so information is not lost.
* Forms a prettier version of the path, where commonly known paths in the
* beginning of the NativePath are replaced with a symbol. No information
* is lost in the transformation.
*
* Also replaces the legacy native path directives '>' and '}', which
* expand to the base path.
* Also handles the legacy native path directives '>' and '}', which expand
* to the base path.
*
* @return Simplified version of the path. The result should only be used
* for paths appearing in messages intended for the user.
* @return Simplified version of the path. The result should be used for
* paths appearing in messages intended for the user.
*/
String pretty() const;

Expand Down

0 comments on commit 47c5956

Please sign in to comment.