AgsTimestamp

AgsTimestamp — Timestamp unix and alike

Synopsis

#include <ags/audio/ags_timestamp.h>

struct              AgsTimestamp;
struct              AgsTimestampClass;
enum                AgsTimestampFlags;
AgsTimestamp *      ags_timestamp_new                   ();

Description

AgsTimestamp measure of time.

Details

struct AgsTimestamp

struct AgsTimestamp {
  GObject object;

  guint flags;
  
  union{
    struct _unix{
      time_t time_val;
    }unix_time;
  }timer;

  guint delay;
  guint attack;
};

struct AgsTimestampClass

struct AgsTimestampClass {
  GObjectClass object;
};

enum AgsTimestampFlags

typedef enum {
  AGS_TIMESTAMP_UNIX      = 1,
  AGS_TIMESTAMP_OUTDATED  = 1 << 1,
} AgsTimestampFlags;

ags_timestamp_new ()

AgsTimestamp *      ags_timestamp_new                   ();

Creates an AgsTimestamp

Returns :

a new AgsTimestamp

Since 0.4