Style fixes to FindDirectory
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
/*
|
||||
* Copyright 2011 Haiku Inc. All rights reserved.
|
||||
* Copyright 2011-2013 Haiku Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Documentation by:
|
||||
* Adrien Destugues, [email protected]
|
||||
* John Scipione, [email protected]
|
||||
*
|
||||
* Corresponds to:
|
||||
* headers/os/storage/FindDirectory.h rev 42600
|
||||
* src/kits/storage/FindDirectory.cpp rev 42600
|
||||
* headers/os/storage/FindDirectory.h hrev46316
|
||||
* src/kits/storage/FindDirectory.cpp hrev46316
|
||||
*/
|
||||
|
||||
|
||||
@@ -43,7 +44,7 @@
|
||||
directories have a different value depending on the UID of the application
|
||||
calling the function. They are usually located in the user home directory.
|
||||
|
||||
Use common directories for system-wide filessuch as drivers. Use user
|
||||
Use common directories for system-wide files such as drivers. Use user
|
||||
directories for application settings, since each user may want different
|
||||
settings.
|
||||
*/
|
||||
@@ -76,7 +77,7 @@
|
||||
The system servers directory.
|
||||
|
||||
\var directory_which B_SYSTEM_APPS_DIRECTORY
|
||||
The system applications direcotry. Contains applications executable from
|
||||
The system applications directory. Contains applications executable from
|
||||
Tracker.
|
||||
|
||||
\var directory_which B_SYSTEM_BIN_DIRECTORY
|
||||
@@ -168,17 +169,19 @@
|
||||
|
||||
|
||||
/*!
|
||||
\fn status_t find_directory(directory_which which, dev_t volume, bool createIt, char* pathString, int32 length)
|
||||
\fn status_t find_directory(directory_which which, dev_t volume,
|
||||
bool createIt, char* pathString, int32 length)
|
||||
\brief C interface to find_directory
|
||||
|
||||
Fills up to \a length characters of \a pathString with the path to \a which
|
||||
on \a volume. Creates the directory if it doesn't exists and \a creqteIt is
|
||||
on \a volume. Creates the directory if it doesn't exists if \a createIt is
|
||||
set.
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn status_t find_directory(directory_which which, BPath* path, bool createIt = false, BVolume* volume = NULL)
|
||||
\fn status_t find_directory(directory_which which, BPath* path, bool createIt,
|
||||
BVolume* volume)
|
||||
\brief C++ interface to find_directory
|
||||
|
||||
Set \a path to \a which on \a volume.
|
||||
|
||||
Reference in New Issue
Block a user