Raised This Month: $ Target: $400
 0% 

.inc file function requirements


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-29-2012 , 02:16   Re: .inc file function requirements
Reply With Quote #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....
Liverwiz is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode