finetjul/Slicer — comment on commit 75730cc697a2acdb5044b231b83e38efd31d66cd
File: Base/QTCore/Testing/Cxx/qSlicerCoreApplicationTest1.cxx line 100
By jcfr:

Make sens.

That said make also sure to add the enum to the metaobject system so that
the value are available from within python.

On Fri, Feb 24, 2012 at 1:53 PM, Julien Finet <
reply@reply.github.com
> wrote:

> Ok for an enum. However I would prefer:
> ExitNotRequested = -1,
> ExitSuccess = EXIT_SUCCESS,
> ExitFailure = EXIT_FAILURE
>
> terminate() would still take an int though ( to leave the option to pass
> any other value if needed)
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/finetjul/Slicer/commit/75730cc697a2acdb5044b231b83e38efd31d66cd#commitcomment-1008996
>

--
+1 919 869 8849