General module

Contents

Classes

struct Zrythm
To be used throughout the program.
struct _ZrythmApp
The global struct.

Typedefs

using Zrythm = struct Zrythm
To be used throughout the program.

Functions

void zrythm_add_to_recent_projects(Zrythm* self, const char* filepath)
FIXME move somewhere else.
auto zrythm_get_version(int with_v) -> char*
Returns the version string.
auto zrythm_get_dir(Zrythm* self) -> char*
Gets the zrythm directory (by default /home/user/zrythm).

Variables

Zrythm* zrythm
Global variable, should be available to all files.
Zrythm* zrythm
Global variable, should be available to all files.

Typedef documentation

typedef struct Zrythm Zrythm

To be used throughout the program.

Everything here should be global and function regardless of the project.

Function documentation

char* zrythm_get_version(int with_v)

Returns the version string.

Parameters
with_v Include a starting "v".

Must be g_free()'d.

char* zrythm_get_dir(Zrythm* self)

Gets the zrythm directory (by default /home/user/zrythm).

Must be free'd by caler.