Add a few missing directory_which constants

This commit is contained in:
Ingo Weinhold 2013-04-24 14:55:03 +02:00
parent ffeecbcc87
commit 3f85cfc132
3 changed files with 12 additions and 0 deletions

View File

@ -68,6 +68,7 @@ typedef enum {
B_COMMON_NONPACKAGED_DOCUMENTATION_DIRECTORY,
B_COMMON_NONPACKAGED_LIB_DIRECTORY,
B_COMMON_NONPACKAGED_HEADERS_DIRECTORY,
B_COMMON_NONPACKAGED_DEVELOP_DIRECTORY,
/* User directories. These are interpreted in the context
of the user making the find_directory call. */
@ -98,6 +99,9 @@ typedef enum {
B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY,
B_USER_NONPACKAGED_LIB_DIRECTORY,
B_USER_NONPACKAGED_HEADERS_DIRECTORY,
B_USER_NONPACKAGED_DEVELOP_DIRECTORY,
B_USER_DEVELOP_DIRECTORY,
B_USER_DOCUMENTATION_DIRECTORY,
/* Global directories. */
B_APPS_DIRECTORY = 4000,

View File

@ -86,6 +86,7 @@ directoryType directoryTypes[] = {
KEYVALUE_PAIR(B_COMMON_NONPACKAGED_DOCUMENTATION_DIRECTORY),
KEYVALUE_PAIR(B_COMMON_NONPACKAGED_LIB_DIRECTORY),
KEYVALUE_PAIR(B_COMMON_NONPACKAGED_HEADERS_DIRECTORY),
KEYVALUE_PAIR(B_COMMON_NONPACKAGED_DEVELOP_DIRECTORY),
// User directories
KEYVALUE_PAIR(B_USER_DIRECTORY),
@ -103,6 +104,8 @@ directoryType directoryTypes[] = {
KEYVALUE_PAIR(B_USER_DATA_DIRECTORY),
KEYVALUE_PAIR(B_USER_CACHE_DIRECTORY),
KEYVALUE_PAIR(B_USER_PACKAGES_DIRECTORY),
KEYVALUE_PAIR(B_USER_DEVELOP_DIRECTORY),
KEYVALUE_PAIR(B_USER_DOCUMENTATION_DIRECTORY),
KEYVALUE_PAIR(B_USER_HEADERS_DIRECTORY),
KEYVALUE_PAIR(B_USER_NONPACKAGED_DIRECTORY),
KEYVALUE_PAIR(B_USER_NONPACKAGED_ADDONS_DIRECTORY),
@ -115,6 +118,7 @@ directoryType directoryTypes[] = {
KEYVALUE_PAIR(B_USER_NONPACKAGED_DOCUMENTATION_DIRECTORY),
KEYVALUE_PAIR(B_USER_NONPACKAGED_LIB_DIRECTORY),
KEYVALUE_PAIR(B_USER_NONPACKAGED_HEADERS_DIRECTORY),
KEYVALUE_PAIR(B_USER_NONPACKAGED_DEVELOP_DIRECTORY),
// Legacy system directories
KEYVALUE_PAIR(B_BEOS_DIRECTORY),

View File

@ -103,6 +103,7 @@ static const char *kCommonDirectories[] = {
COMMON NON_PACKAGED "/documentation",
COMMON NON_PACKAGED "/lib",
COMMON NON_PACKAGED "/develop/headers",
COMMON NON_PACKAGED "/develop",
};
/* User directories */
@ -138,6 +139,9 @@ static const char *kUserDirectories[] = {
HOME CONFIG NON_PACKAGED "/documentation",
HOME CONFIG NON_PACKAGED "/lib",
HOME CONFIG NON_PACKAGED "/develop/headers",
HOME CONFIG NON_PACKAGED "/develop",
HOME CONFIG "/develop",
HOME CONFIG "/documentation",
};