Lines Matching defs:node

41 	\see SetTo(BNode *node)
50 /*! \brief Creates a BNodeInfo object and initializes it to the supplied node.
52 \param node The node to gather information on. Can be any flavor.
54 \see SetTo(BNode *node)
56 BNodeInfo::BNodeInfo(BNode *node)
60 fCStatus = SetTo(node);
73 /*! \brief Initializes the BNodeInfo to the supplied node.
80 \param node The node to play with
84 - \c B_BAD_VALUE: The node was bad.
87 BNodeInfo::SetTo(BNode *node)
91 fCStatus = (node && node->InitCheck() == B_OK ? B_OK : B_BAD_VALUE);
93 fNode = node;
102 - \c B_NO_INIT: The node is not properly initialized.
111 /*! \brief Gets the node's MIME type.
118 node shall be written.
126 - \c B_ENTRY_NOT_FOUND: No type is set on the node.
160 /*! \brief Sets the node's MIME type.
162 The supplied string is written into the node's "BEOS:TYPE" attribute.
166 \param type The MIME type to be assigned to the node. Must not be longer
202 /*! \brief Gets the node's icon.
204 The icon stored in the node's "BEOS:L:STD_ICON" (large) or
297 /*! \brief Sets the node's icon.
299 The icon is stored in the node's "BEOS:L:STD_ICON" (large) or
379 /*! \brief Gets the node's preferred application.
427 /*! \brief Sets the node's preferred application.
429 The supplied string is written into the node's "BEOS:PREF_APP" attribute.
473 shall be used to open this node.
475 The path contained in the node's "BEOS:PPATH" attribute is converted into
523 /*! \brief Sets the node's app hint.
525 The supplied entry_ref is converted into a path and stored in the node's
569 This method tries real hard to find an icon for the node:
570 - If the node has no type, return the icon for B_FILE_MIME_TYPE if it's a
572 the MIME database. Even, if the node has an own icon!
575 application has a special icon for the node's file type.
576 - Ask the MIME database whether there is an icon for the node's file type.
577 - Ask the MIME database for the preferred application for the node's
579 - Return the icon for whatever type of node (file/dir/etc.) from the MIME database.
624 // get node MIME type, and, if that fails, the generic icon
661 // application has a special icon for the node's file type.
671 // Ask the MIME database whether there is an icon for the node's file type.
678 // Ask the MIME database for the preferred application for the node's
700 /*! \brief Gets the icon which tracker displays for the node referred to by
704 \a ref identifies the node in question.
706 \param ref An entry_ref referring to the node for which the icon shall be
726 BNode node;
728 error = node.SetTo(ref);
732 error = nodeInfo.SetTo(&node);