Login  Register

Re: How to load compiled programs?

Posted by Wibowit on Apr 19, 2011; 5:33am
URL: https://forum.jogamp.org/How-to-load-compiled-programs-tp2835385p2837598.html

Yes. I have used those patterns - ie. they were used by libraries authors - but there were never such situation. You should make separate non-public class that implements such interfaces and separate class with static methods that return such interfaces implementation.

It's little work but will help in API consistency & clarity.

Also, could you add a switch or something so there's no forcing of automatic rebuilds from source? I'd like to know when sources are compiled and show that to the user.