PebbleOS
Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
app_glance_service.h File Reference
#include <pbl/services/blob_db/app_glance_db_private.h>
#include <pbl/services/timeline/attribute.h>
#include <pbl/kernel/compiler.h>
#include <time.h>
#include <pbl/util/uuid.h>

Data Structures

struct  AppGlanceSliceInternal
 Glance slice as stored by the firmware. More...
 
struct  AppGlance
 App glance: a list of slices. More...
 
union  AppGlanceSliceInternal.__unnamed66__
 
struct  AppGlanceSliceInternal.__unnamed66__.icon_and_subtitle
 Data of AppGlanceSliceType_IconAndSubtitle slices. More...
 

Enumerations

enum  AppGlanceSliceType { AppGlanceSliceType_IconAndSubtitle = 0 , AppGlanceSliceTypeCount }
 Glance slice layout. More...
 

Functions

void app_glance_service_init_glance (AppGlance *glance)
 Initialize a glance with no slices.
 
void app_glance_service_init (void)
 Initialize the service; subscribes to database and app cache events on KernelMain.
 
bool app_glance_service_get_current_slice (const Uuid *app_uuid, AppGlanceSliceInternal *slice_out)
 Get the current slice of an app's glance.