AgsSimpleAutosaveThread

AgsSimpleAutosaveThread — auto safe

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsSimpleAutosaveThread

Implemented Interfaces

AgsSimpleAutosaveThread implements AgsConnectable.

Includes

#include <ags/thread/ags_simple_autosave_thread.h>

Description

The AgsSimpleAutosaveThread performs auto-safe.

Functions

ags_simple_autosave_thread_new ()

AgsSimpleAutosaveThread *
ags_simple_autosave_thread_new (GObject *application_context);

Create a new AgsSimpleAutosaveThread.

Parameters

application_context

the AgsApplicationContext

 

Returns

the new AgsSimpleAutosaveThread

Since: 2.0.0


AGS_IS_SIMPLE_AUTOSAVE_THREAD()

#define AGS_IS_SIMPLE_AUTOSAVE_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SIMPLE_AUTOSAVE_THREAD))

AGS_SIMPLE_AUTOSAVE_THREAD()

#define AGS_SIMPLE_AUTOSAVE_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SIMPLE_AUTOSAVE_THREAD, AgsSimpleAutosaveThread))

AGS_SIMPLE_AUTOSAVE_THREAD_CLASS()

#define AGS_SIMPLE_AUTOSAVE_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SIMPLE_AUTOSAVE_THREAD, AgsSimpleAutosaveThreadClass))

AGS_SIMPLE_AUTOSAVE_THREAD_GET_CLASS()

#define AGS_SIMPLE_AUTOSAVE_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SIMPLE_AUTOSAVE_THREAD, AgsSimpleAutosaveThreadClass))

ags_simple_autosave_thread_get_type ()

GType
ags_simple_autosave_thread_get_type ();

Types and Values

AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_JIFFIE

#define AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_JIFFIE (1.0)

AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_DELAY

#define AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_DELAY (10)

AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_FILENAME

#define AGS_SIMPLE_AUTOSAVE_THREAD_DEFAULT_FILENAME "ags-autosaved-{PID}.xml\0"

AGS_TYPE_SIMPLE_AUTOSAVE_THREAD

#define AGS_TYPE_SIMPLE_AUTOSAVE_THREAD                (ags_simple_autosave_thread_get_type())

struct AgsSimpleAutosaveThread

struct AgsSimpleAutosaveThread;

struct AgsSimpleAutosaveThreadClass

struct AgsSimpleAutosaveThreadClass {
  AgsThreadClass thread;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The application context to check against serialization.

Flags: Read / Write