 |
|
Veteran Member
Join Date: Feb 2010
Location: Maryland
|

06-29-2012
, 02:16
Re: .inc file function requirements
|
#5
|
Let me try......
I have a core program, that includes its own API. This core has functionality of setPowers(id) and disablePowers(id). Now...these two functions are called every time they need to within the core, and include a forward within them, to enable, and disable the correlating powers. And if another plugin wants to work alongside this core, using its API, it would be pretty useless for it to not have these two functions defined, for that is the entire purpose of the API, easily set customizable powers, and in turn, disable them. Is there a way to require the extension declare these functions, and if not...it doesn't compile correctly or something?
__________________
What an elegant solution to a problem that doesn't need solving....
|
|
|
|