RetroArch
Classes | Typedefs | Functions | Variables
task_powerstate.c File Reference
#include <stdlib.h>
#include "../../frontend/frontend_driver.h"
#include "tasks_internal.h"
Include dependency graph for task_powerstate.c:

Classes

struct  powerstate
 

Typedefs

typedef struct powerstate powerstate_t
 

Functions

enum frontend_powerstate get_last_powerstate (int *percent)
 
static void task_powerstate_cb (void *task_data, void *user_data, const char *error)
 
static void task_powerstate_handler (retro_task_t *task)
 
void task_push_get_powerstate (void)
 

Variables

static int power_percent = 0
 
static enum frontend_powerstate state = FRONTEND_POWERSTATE_NONE
 

Typedef Documentation

◆ powerstate_t

typedef struct powerstate powerstate_t

Function Documentation

◆ get_last_powerstate()

enum frontend_powerstate get_last_powerstate ( int *  percent)
Here is the caller graph for this function:

◆ task_powerstate_cb()

static void task_powerstate_cb ( void task_data,
void user_data,
const char *  error 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_powerstate_handler()

static void task_powerstate_handler ( retro_task_t task)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_get_powerstate()

void task_push_get_powerstate ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ power_percent

int power_percent = 0
static

◆ state