RE: Making a simple plugin system for your application 02-03-2018, 08:57 PM
#8
(02-03-2018, 08:44 PM)phyrrus9 Wrote:(02-03-2018, 08:31 PM)Pikami Wrote:(02-03-2018, 07:36 PM)phyrrus9 Wrote: Go right ahead. I might make some modifications to it though, fair warning.
I just opened my pull request.
Merged, actually looks perfect in its current state, I'm impressed!
Normally a plugin system would scan the directory at start time and call a register function or something (which would help to write the configuration), but I like the idea of being able to add plugins without restarting the program (if you start it, you can then run make && make install in the plugin and it will be loaded on the next request).
In short: dylibs are awesome
I'm glad
![Wink Wink](https://sinister.ly/images/smilies/set/wink.png)
And yes, dylibs are awesome.
(This post was last modified: 02-03-2018, 08:57 PM by Pikami.)