![]() |
![]() |
![]() |
RhythmCat Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <rc-main.h> struct RCMainApplication; struct RCMainApplicationClass; void rc_main_exit (); const gchar * rc_main_get_data_dir (); const gchar * rc_main_get_user_dir (); gint rc_main_run (gint *argc
,gchar **argv[]
);
The RCMainApplication is a class which inherits GtkApplication. It manages the initialization, startup, running, and uninitialzation of the program.
It also provides some utility functions.
struct RCMainApplication;
The data structure used for RCMainApplication class.
void rc_main_exit ();
Exit from the player, save configure data and release all used resources.
const gchar * rc_main_get_data_dir ();
Get the program data directory path of the player.
Returns : |
the program data directory path. |
const gchar * rc_main_get_user_dir ();
Get the user data directory path of the player. (should be ~/.RhythmCat2)
Returns : |
the user data directory path. |