forked from external/yambar
tag: refresh_in() *must* use the realtime unit
This commit is contained in:
parent
67bd38f5df
commit
13cc11e200
3 changed files with 9 additions and 9 deletions
4
tag.h
4
tag.h
|
@ -6,7 +6,7 @@
|
|||
|
||||
enum tag_realtime_unit {
|
||||
TAG_REALTIME_NONE,
|
||||
TAG_REALTIME_SECONDS
|
||||
TAG_REALTIME_SECS,
|
||||
};
|
||||
|
||||
struct module;
|
||||
|
@ -26,7 +26,7 @@ struct tag {
|
|||
long (*max)(const struct tag *tag);
|
||||
enum tag_realtime_unit (*realtime)(const struct tag *tag);
|
||||
|
||||
bool (*refresh_in)(const struct tag *tag, long milli_seconds);
|
||||
bool (*refresh_in)(const struct tag *tag, long units);
|
||||
};
|
||||
|
||||
struct tag_set {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue