272
edits
(→Example: engines/quux/quux.cpp: Engine::init has been removed some time ago, update one comment in the QuuxEngine constructor accordingly.) |
Dreammaster (talk | contribs) m (Made changes to reflect changed way to register engines) |
||
Line 19: | Line 19: | ||
# Add <tt>engines/quux/detection.cpp</tt>; It will contain the plugin interface code (more on that in the next section). | # Add <tt>engines/quux/detection.cpp</tt>; It will contain the plugin interface code (more on that in the next section). | ||
# Modify <tt>engines/engines.mk</tt> by adding your engine. It should be clear what to do by looking at what is done for the other engines there. | # Modify <tt>engines/engines.mk</tt> by adding your engine. It should be clear what to do by looking at what is done for the other engines there. | ||
# Modify <tt>configure</tt> by adding a new add_engine line. Again, just check out what is done for the existing engines | # Modify <tt>engines/configure.engines</tt> by adding a new add_engine line. Again, just check out what is done for the existing engines. | ||
That's it. The difficult part is of course writing the Engine subclass. More on that in the next section! | That's it. The difficult part is of course writing the Engine subclass. More on that in the next section! |
edits