Commit 80959cdc authored by Mario Hlawitschka's avatar Mario Hlawitschka
Browse files

[STYLE] as there seems to be no reason to have c-style syntax for enums here,...

[STYLE] as there seems to be no reason to have c-style syntax for enums here, I changed it to c++-style syntax
parent 8329f1e4
...@@ -33,11 +33,10 @@ class WException; ...@@ -33,11 +33,10 @@ class WException;
/** /**
* Enum of all possible signals WThreadedRunner instances can emit. * Enum of all possible signals WThreadedRunner instances can emit.
*/ */
typedef enum enum THREAD_SIGNAL
{ {
WTHREAD_ERROR // error during execution WTHREAD_ERROR // error during execution
} };
THREAD_SIGNAL;
// ************************************************************************************************************************** // **************************************************************************************************************************
// Types // Types
......
...@@ -34,14 +34,13 @@ class WException; ...@@ -34,14 +34,13 @@ class WException;
/** /**
* Enum of all possible signals WModule instances can emit. * Enum of all possible signals WModule instances can emit.
*/ */
typedef enum enum MODULE_SIGNAL
{ {
WM_ASSOCIATED, // module got associated to a container WM_ASSOCIATED, // module got associated to a container
WM_READY, // module ready WM_READY, // module ready
WM_ERROR, // error during execution WM_ERROR, // error during execution
WM_REMOVED // removed from the container WM_REMOVED // removed from the container
} };
MODULE_SIGNAL;
// ************************************************************************************************************************** // **************************************************************************************************************************
// Types // Types
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment