/* dBoxTools:Find.h */

#ifndef _find_h
#define _find_h

#include "toolbox.h"

#include "main.h"

ObjectId find_object( char *name );
/* returns -1 if not found */

void find_objectAndComponent
( char *text, ObjectId *object, ComponentId *component);
/* searches the list of created objects for object:component given by text
   syntax
      text can be
        object
        object:component
        :component
      where
        object    is template name
        component is hexadecimal component id
*/                   

Action *find_action
( Action *start, Action *target );
/* start   the start of the list of actions to search
   target  the action to try to find
*/   

#endif
