Hello,
I am developing two plugins. Let’s say MyApiClient
and MyApiServer.
In both of these plugins there a lot of similarities including almost identical classes with the same name.
For instance, there is a class called MyApiHttpRequest
.
In order to avoid name clashes, I called one class MyApiClientHttpRequest
and the other: MyApiServerHttpRequest
. this helps.
But are there any other smart ways to avoid conflicts? Maybe using namespaces, or maybe use some upper level c++ library for these classes?
Can you guide me?