
Example 06: Hooks

This example demonstrates how hooks can be used to output compile and link information and errors. This
allows you to more deeply integrate Live++ into your engine/framework/application, e.g. by showing progress
bars, message boxes, etc. while compilation is in progress.
These hooks can be found in "MainHooks.cpp".

Additionally, this example also demonstrates pre-patch and post-patch hooks to re-create instances of
classes that have their memory layouts changed.
These hooks can be found in "MainLoop.cpp" and are responsible for re-creating the FireDemo instance whenever
the source file "FireDemo.cpp" was recompiled.
The #define LPP_DEMONSTRATE_HOOKS in "FireDemo.h" can be used to verify that the FireDemo instance is indeed
re-created.

Interesting things to look at and try out have been marked with "Live++" in the source code.
