File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,18 @@ Supports Windows, Linux and Mac OS X.
66## Getting Started
77
88To catch Ctrl+C event/signal you should call:
9-
10- unsigned int CtrlCLibrary::SetCtrlCHandler(std::function<bool(enum CtrlSignal)> handler);
11-
9+ ``` cpp
10+ unsigned int CtrlCLibrary::SetCtrlCHandler (std::function<bool(enum CtrlCLibrary:: CtrlSignal)> handler);
11+ ```
1212handler - custom handler;
1313
1414**Return**:
1515Returns handler identifier, or CtrlCLibrary::kErrorID in case of error.
1616
1717To remove handler you should call:
18-
19- void CtrlCLibrary::ResetCtrlCHandler(unsigned int id);
20-
18+ ```cpp
19+ void CtrlCLibrary::ResetCtrlCHandler(unsigned int id);
20+ ```
2121id - handler identifier, returned by CtrlCLibrary::SetCtrlCHandler.
2222
2323### Installing
You can’t perform that action at this time.
0 commit comments