Re: How to encript header files.

vivekiyer_at_gmail.com
Date: 03/30/05


Date: 29 Mar 2005 23:42:48 -0800

Well I have a suggestion. Why don't you define an class with only pure
virtual functions (Lets call it interfaceA for simplicity sake). Now in
this class place all the function you would like to export and make
sure that they are pure virtual. Now change the header file that you
currently have (the one which you do not want to send to your client)
and derive the class in this header from interfaceA. Now this way you
need not send your header file to your client since all your client
needs to see is the header containing interfaceA. Also the amount of
code you need to change is minimal. Hope this helps