Global Lender
A Pebble app for finding new and interesting loans on kiva.org
wndMainMenu.h
Go to the documentation of this file.
1 #pragma once
2 #include <pebble.h>
3 
4 #include "data/KivaModel.h"
5 
6 // GetPrefLoansHandler is a pointer to a function that takes no
7 // parameter and returns nothing.
8 typedef void (*GetPrefLoansHandler)(void);
9 
10 // wndMainMenuHandlers is a struct that contains the values of the handlers.
11 typedef struct wndMainMenuHandlers {
14 
15 
17 
18 void wndMainMenu_updateClock(struct tm*);
21 void wndMainMenu_destroy();
void wndMainMenu_updateData(const KivaModel *)
Definition: wndMainMenu.c:212
void wndMainMenu_createPush()
Definition: wndMainMenu.c:356
void wndMainMenu_destroy()
Definition: wndMainMenu.c:376
void wndMainMenu_setHandlers(const wndMainMenuHandlers)
Set our callback handlers.
Definition: wndMainMenu.c:188
void(* GetPrefLoansHandler)(void)
Definition: wndMainMenu.h:8
Definition: wndMainMenu.h:11
GetPrefLoansHandler getPrefLoans
Function that this View calls to request data from its Controller.
Definition: wndMainMenu.h:12
struct wndMainMenuHandlers wndMainMenuHandlers
void wndMainMenu_updateClock(struct tm *)
Definition: wndMainMenu.c:195
Definition: KivaModel_Internal.h:31