Class representing the mkd64 application. More...
#include <mkd64/mkd64.h>
Related Functions | |
(Note that these are not member functions.) | |
ModRepo * | Mkd64_modRepo (Mkd64 *self) |
Get the current module repository. | |
void | Mkd64_suggestOption (Mkd64 *self, IModule *mod, int fileNo, char opt, const char *arg, const char *reason) |
Suggest a better option to the user. | |
Mkd64 * | Mkd64_instance (void) |
Get the current instance of mkd64. | |
#define | MKD64 |
Convencience macro for getting the current mkd64 instance. |
Class representing the mkd64 application.
This is a singleton allowing only one instance at a time.
|
related |
Get the current instance of mkd64.
Get the current module repository.
self | the Mkd64 instance |
|
related |
Suggest a better option to the user.
Call this from a module if you found a situation where specifying different options would have resulted in a "better" image (e.g. less fragmentation).
self | the Mkd64 instance |
mod | the module suggesting the option |
fileNo | the number of the concerned file, or 0 if it is a global option |
opt | the option suggested to use |
arg | the option argument suggested to use (may be 0). |
reason | a brief explanation why this is suggested. |