bluerobotics / ping-cpp

C++ API implementation of ping-protocol
12 stars 11 forks source link

Allow enums to be accessible in Qt projects #7

Closed patrickelectric closed 5 years ago

patrickelectric commented 5 years ago

Signed-off-by: Patrick José Pereira patrickelectric@gmail.com

patrickelectric commented 5 years ago

No, the this patch does not change the current behavior. The namespace is used in the end of the header to allow any usage of such enums without the namespace name. The namespace is just something necessary to allow the access of such enums via QML. This patch is necessary for the manual connection menu in ping-viewer where such enums need to be used in QML.