* Minor style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42296 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
* This file may be used under the terms of the MIT License.
|
* This file may be used under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*! Query parsing and evaluation
|
/*! Query parsing and evaluation
|
||||||
|
|
||||||
The pattern matching is roughly based on code originally written
|
The pattern matching is roughly based on code originally written
|
||||||
@@ -11,6 +12,7 @@
|
|||||||
it shares no code.
|
it shares no code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "Query.h"
|
#include "Query.h"
|
||||||
|
|
||||||
#include <query_private.h>
|
#include <query_private.h>
|
||||||
@@ -22,6 +24,7 @@
|
|||||||
#include "Inode.h"
|
#include "Inode.h"
|
||||||
#include "Volume.h"
|
#include "Volume.h"
|
||||||
|
|
||||||
|
|
||||||
// The parser has a very static design, but it will do what is required.
|
// The parser has a very static design, but it will do what is required.
|
||||||
//
|
//
|
||||||
// ParseOr(), ParseAnd(), ParseEquation() are guarantying the operator
|
// ParseOr(), ParseAnd(), ParseEquation() are guarantying the operator
|
||||||
@@ -1657,10 +1660,10 @@ Query::LiveUpdate(Inode* inode, const char* attribute, int32 type,
|
|||||||
|
|
||||||
// notify query listeners
|
// notify query listeners
|
||||||
|
|
||||||
if (stillInQuery)
|
if (stillInQuery) {
|
||||||
notify_query_attr_changed(fPort, fToken, fVolume->ID(),
|
notify_query_attr_changed(fPort, fToken, fVolume->ID(),
|
||||||
fVolume->ToVnode(inode->Parent()), name, inode->ID());
|
fVolume->ToVnode(inode->Parent()), name, inode->ID());
|
||||||
else if (entryCreated) {
|
} else if (entryCreated) {
|
||||||
notify_query_entry_created(fPort, fToken, fVolume->ID(),
|
notify_query_entry_created(fPort, fToken, fVolume->ID(),
|
||||||
fVolume->ToVnode(inode->Parent()), name, inode->ID());
|
fVolume->ToVnode(inode->Parent()), name, inode->ID());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user