how can i "hide" header files?

 
Hi,

i made an API written it in some classes. How can i compile/hide them? the export function doesn't work for it if i try it using as lib. Is there any simple way or do i have to include them into a new lib and hide them with new functions wich can be exported?
Thanks for the answers.