AgsAutosaveThread

AgsAutosaveThread — auto safe

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsAutosaveThread

Implemented Interfaces

AgsAutosaveThread implements AgsConnectable and AgsMainLoop.

Includes

#include <ags/thread/ags_autosave_thread.h>

Description

The AgsAutosaveThread performs auto-safe.

Functions

ags_autosave_thread_new ()

AgsAutosaveThread *
ags_autosave_thread_new (GObject *application_context);

Create a new AgsAutosaveThread.

Parameters

application_context

the AgsApplicationContext

 

Returns

the new AgsAutosaveThread

Since: 1.0.0


AGS_AUTOSAVE_THREAD()

#define AGS_AUTOSAVE_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThread))

AGS_AUTOSAVE_THREAD_CLASS()

#define AGS_AUTOSAVE_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))

AGS_AUTOSAVE_THREAD_GET_CLASS()

#define AGS_AUTOSAVE_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))

AGS_IS_AUTOSAVE_THREAD()

#define AGS_IS_AUTOSAVE_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOSAVE_THREAD))

ags_autosave_thread_get_type ()

GType
ags_autosave_thread_get_type ();

Types and Values

AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE

#define AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE (0.2)

AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME

#define AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME "ags-autosaved.xml\0"

AGS_TYPE_AUTOSAVE_THREAD

#define AGS_TYPE_AUTOSAVE_THREAD                (ags_autosave_thread_get_type())

struct AgsAutosaveThread

struct AgsAutosaveThread;

struct AgsAutosaveThreadClass

struct AgsAutosaveThreadClass {
  AgsThreadClass thread;
};

Property Details

The “application-context” property

  “application-context”      AgsApplicationContext *

The application context to check against serialization.

Flags: Read / Write