How To Hide Windows.h

I want to hide windows.h in my GUI library. When looking at the source code of Qt or GTK, I don't see windows.h. How can I hide it?

I want to hide the operating system's API from the user. How can I learn abstraction? Is there a way to make my library cross-platform besides abstraction?

Upvotes: -5

Views: 86

Answers (0)

Related Questions