Skip to content

Manually control the embedded server

chinmaygarde edited this page Feb 11, 2013 · 1 revision

The library is meant to be as easy as use as possible and does not ship with any headers or options to configure how/when the server is turned on and off. If you need more control over this process, you should checkout the repository for the library project and duplicate the Detective target and define the HD_MANUAL_LIFECYCLE_MANAGEMENT preprocessor macro. This is ensure that the servers for the various aspects do not startup automatically.

Once this is done, you will have to create the servers manually. These are HDUIKitDetective, HDQuartzDetective and HDCocos2DDetective. You can call the activate and deactivate methods on the same at your convenience.

Clone this wiki locally