forked from external/yambar
module: add ‘description()’ to the module interface
This function is intended to return a description of this particular module instance.
This commit is contained in:
parent
60ee992a73
commit
d0dd65cef5
1 changed files with 2 additions and 0 deletions
2
module.h
2
module.h
|
@ -26,6 +26,8 @@ struct module {
|
|||
/* refresh_in() should schedule a module content refresh after the
|
||||
* specified number of milliseconds */
|
||||
bool (*refresh_in)(struct module *mod, long milli_seconds);
|
||||
|
||||
const char *(*description)(struct module *mod);
|
||||
};
|
||||
|
||||
struct module *module_common_new(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue