News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

License Loader

Started by sethjackson, January 25, 2006, 11:28:23 PM

Previous topic - Next topic

sethjackson

Hi I was thinking it might be a good idea to write a class that loads the license file from disk instead of hardcoding them as macros in license.h. Basically you would do. LicenseManager::Load(LICENSE_GPL) or something.... Call the class whatever you want (LicenseManager probably is not the best name in the world). The Load, or Open fuction or whatever would take one argument telling the function which license to load. BSD, GPL, LGPL, WX, etc. Good idea or no? Maybe my implementation isn't the best, but I think it gets the point across (I hope).......

rickg22

Well I'm really not sure... if an end user wants to modify the license...

WAIT A MINUTE! GPL is _NOT_ an EULA! It's a distribution license! (Also this takes away the need to click on "I agree" in the installation)

You're so right! The GPL should come as a separate text file!

sethjackson

Quote from: rickg22 on January 25, 2006, 11:30:50 PM
Well I'm really not sure... if an end user wants to modify the license...

WAIT A MINUTE! GPL is _NOT_ an EULA! It's a distribution license! (Also this takes away the need to click on "I agree" in the installation)

You're so right! The GPL should come as a separate text file!

Yeah that was the whole point......  :lol: Also it means we could load different license easily if we wanted to.... No more hard-coded macros than possible please. :)

thomas

#3
Quote from: rickg22 on January 25, 2006, 11:30:50 PMWAIT A MINUTE! GPL is _NOT_ an EULA! It's a distribution license! (Also this takes away the need to click on "I agree" in the installation)
This is not correct at all.
Ohe of the GPL's most important clauses is the exclusion of any guarantees, liabilites or retributions, express or implied, which the authors or copyright holders might otherwise be bound to as a direct or indirect consequence of usage of the licensed software.

EDIT:
In other words, if your program eats my cat, and you did not make me click on "I accept", then you'll pay for my cat ;)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

Ok so is this a good idea or not????