This may not be the answer you're looking for, but you might refer to the MFC source code (available with VC++) for an example of how this kind of encapsulation works. If you're unaware, MFC is a C++ ...
“API” is an acronym for application programming interface, a set of protocols that allows two software programs to communicate. APIs are used to power web applications and integrate different software ...