forked from Yadciel/c_tray
Correcting warnings in the public API, correcting errors on Windows
This commit is contained in:
15
tray.h
15
tray.h
@@ -1,6 +1,11 @@
|
||||
#ifndef TRAY_H
|
||||
#define TRAY_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
struct tray_menu;
|
||||
|
||||
struct tray {
|
||||
@@ -21,6 +26,16 @@ struct tray_menu {
|
||||
struct tray_menu *submenu;
|
||||
};
|
||||
|
||||
int tray_init(struct tray *tray);
|
||||
|
||||
int tray_loop(int blocking);
|
||||
|
||||
void tray_update(struct tray *tray);
|
||||
|
||||
void tray_exit(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* TRAY_H */
|
||||
|
||||
Reference in New Issue
Block a user