Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes for shared object files. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -579,7 +579,7 @@ message: B_REG_MIME_UPDATE_MIME_INFO
|
||||
"entry": B_REF_TYPE
|
||||
"recursive": B_BOOLEAN_TYPE
|
||||
"synchronous": B_BOOLEAN_TYPE
|
||||
"force": B_BOOLEAN_TYPE
|
||||
"force": B_INT32_TYPE
|
||||
reply: standard general result
|
||||
|
||||
message fields:
|
||||
@@ -589,8 +589,9 @@ message fields:
|
||||
- "synchronous": If true, the call will block until the operation is
|
||||
completed. If false, the call will return immediately and the operation
|
||||
will run asynchronously in another thread.
|
||||
- "force": If true, also update entries for which a BEOS:TYPE attribute
|
||||
already exists.
|
||||
- "force": Specifies how to handle entries for which a BEOS:TYPE attribute
|
||||
already exists. Valid values are
|
||||
B_UPDATE_MIME_INFO_{NO_FORCE, FORCE_KEEP_TYPE, FORCE_UPDATE_ALL}.
|
||||
|
||||
reply fields:
|
||||
- "result":
|
||||
@@ -607,7 +608,7 @@ message: B_REG_MIME_CREATE_APP_META_MIME
|
||||
"entry": B_REF_TYPE
|
||||
"recursive": B_BOOLEAN_TYPE
|
||||
"synchronous": B_BOOLEAN_TYPE
|
||||
"force": B_BOOLEAN_TYPE
|
||||
"force": B_INT32_TYPE
|
||||
reply: standard general result
|
||||
|
||||
message fields:
|
||||
@@ -617,7 +618,7 @@ message fields:
|
||||
- "synchronous": If true, the call will block until the operation is
|
||||
completed. If false, the call will return immediately and the operation
|
||||
will run asynchronously in another thread.
|
||||
- "force": If true, also update entries for which meta app information
|
||||
- "force": If != 0, also update entries for which meta app information
|
||||
already exists.
|
||||
|
||||
reply fields:
|
||||
|
||||
Reference in New Issue
Block a user