SCTC
the soundcloud.com terminal client
Functions
State: Getter

Functions

size_t state_get_current_list ()
 Get the id of the currently displayed list. More...
 
struct track_liststate_get_list (size_t id)
 Get the track_list for a specific id. More...
 
enum repeat state_get_repeat ()
 Get the current repeat state. More...
 
char * state_get_title_text ()
 Get the current text in the title bar. More...
 
char * state_get_status_text ()
 Get the current text in the status bar. More...
 
enum color state_get_status_color ()
 Get the current color of the text in the status bar. More...
 
char * state_get_tb_text ()
 Get the text of the currently visible textbox. More...
 
char * state_get_tb_title ()
 Get the title of the currently visible textbox. More...
 
char * state_get_input ()
 
struct commandstate_get_commands ()
 
size_t state_get_current_time ()
 
size_t state_get_tb_old_pos ()
 
size_t state_get_tb_pos ()
 
size_t state_get_old_selected ()
 
size_t state_get_current_selected ()
 
size_t state_get_current_position ()
 
size_t state_get_sugg_selected ()
 
size_t state_get_current_playback_list ()
 
size_t state_get_current_playback_track ()
 

Detailed Description

Function Documentation

struct command* state_get_commands ( )

Here is the caller graph for this function:

size_t state_get_current_list ( )

Get the id of the currently displayed list.

Returns
id of the currently displayed list

Here is the caller graph for this function:

size_t state_get_current_playback_list ( )

Here is the caller graph for this function:

size_t state_get_current_playback_track ( )

Here is the caller graph for this function:

size_t state_get_current_position ( )

Here is the caller graph for this function:

size_t state_get_current_selected ( )

Here is the caller graph for this function:

size_t state_get_current_time ( )

Here is the caller graph for this function:

char* state_get_input ( )

Here is the caller graph for this function:

struct track_list* state_get_list ( size_t  id)

Get the track_list for a specific id.

Returns
The track_list for a specific id

Here is the caller graph for this function:

size_t state_get_old_selected ( )

Here is the caller graph for this function:

enum repeat state_get_repeat ( )

Get the current repeat state.

Returns
The current repeat state

Here is the caller graph for this function:

enum color state_get_status_color ( )

Get the current color of the text in the status bar.

Returns
the current color of the text in the status bar

Here is the caller graph for this function:

char* state_get_status_text ( )

Get the current text in the status bar.

Returns
The current text in the status bar

Here is the caller graph for this function:

size_t state_get_sugg_selected ( )

Here is the caller graph for this function:

size_t state_get_tb_old_pos ( )
size_t state_get_tb_pos ( )

Here is the caller graph for this function:

char* state_get_tb_text ( )

Get the text of the currently visible textbox.

Returns
the text of the currently visible textbox, NULL if no textbox is shown

Here is the caller graph for this function:

char* state_get_tb_title ( )

Get the title of the currently visible textbox.

Returns
the title of the currently visible textbox, NULL if no textbox is shown

Here is the caller graph for this function:

char* state_get_title_text ( )

Get the current text in the title bar.

Returns
The current text in the title bar

Here is the caller graph for this function: