.. index:: single: object_wrapper_hook(Protocol) .. _object_wrapper_hook/1: .. rst-class:: right **object** ``object_wrapper_hook(Protocol)`` ================================= Use this object to wrap the contents of a plain Prolog file in an object named after the file that implements the given protocol. | **Availability:** | ``logtalk_load(hook_objects(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2021-11-24 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`expanding ` | **Uses:** | :ref:`os ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`expanding/0::goal_expansion/2`  :ref:`expanding/0::term_expansion/2`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`object_wrapper_hook `, :ref:`object_wrapper_hook(Name,Relations) `, :ref:`backend_adapter_hook `, :ref:`default_workflow_hook `, :ref:`grammar_rules_hook `, :ref:`prolog_module_hook(Module) `, :ref:`write_to_stream_hook(Stream,Options) `, :ref:`write_to_stream_hook(Stream) `, :ref:`print_goal_hook `, :ref:`suppress_goal_hook `