more wip launcher stuff
This commit is contained in:
@@ -5,12 +5,12 @@ void fake_widget_setup(LauncherSettings *settings, void ** context_ptr) {
|
||||
*context_ptr = NULL;
|
||||
}
|
||||
|
||||
void fake_widget_enter_foreground(LauncherSettings *settings, void *context) {
|
||||
void fake_widget_activate(LauncherSettings *settings, void *context) {
|
||||
(void) settings;
|
||||
(void) context;
|
||||
}
|
||||
|
||||
bool fake_widget_loop(LauncherEvent event, LauncherSettings *settings, void *context) {
|
||||
void fake_widget_loop(LauncherEvent event, LauncherSettings *settings, void *context) {
|
||||
(void) event;
|
||||
(void) settings;
|
||||
(void) context;
|
||||
@@ -18,7 +18,7 @@ bool fake_widget_loop(LauncherEvent event, LauncherSettings *settings, void *con
|
||||
return true;
|
||||
}
|
||||
|
||||
void fake_widget_enter_background(LauncherSettings *settings, void *context) {
|
||||
void fake_widget_resign(LauncherSettings *settings, void *context) {
|
||||
(void) settings;
|
||||
(void) context;
|
||||
}
|
||||
|
||||
@@ -4,15 +4,17 @@
|
||||
#include "launcher.h"
|
||||
|
||||
void fake_widget_setup(LauncherSettings *settings, void ** context_ptr);
|
||||
void fake_widget_enter_foreground(LauncherSettings *settings, void *context);
|
||||
bool fake_widget_loop(LauncherEvent event, LauncherSettings *settings, void *context);
|
||||
void fake_widget_enter_background(LauncherSettings *settings, void *context);
|
||||
void fake_widget_activate(LauncherSettings *settings, void *context);
|
||||
void fake_widget_loop(LauncherEvent event, LauncherSettings *settings, void *context);
|
||||
void fake_widget_resign(LauncherSettings *settings, void *context);
|
||||
|
||||
#define fake_widget { \
|
||||
"WI dGIt01", \
|
||||
true, \
|
||||
fake_widget_setup, \
|
||||
fake_widget_enter_foreground, \
|
||||
fake_widget_activate, \
|
||||
fake_widget_loop, \
|
||||
fake_widget_enter_background, \
|
||||
fake_widget_resign, \
|
||||
}
|
||||
|
||||
#endif // FAKE_WIDGET_H_
|
||||
Reference in New Issue
Block a user