summaryrefslogtreecommitdiff
path: root/tests/scanner/sletter.h
blob: 20797f6c108e98f4e51f452171083f09d378241e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __SLETTER_H__
#define __SLETTER_H__

#include <gio/gio.h>

typedef struct {
  double x;
  double y;
} SPoint;

void s_hello (void);

/* Like GSpawnError; not registered with GType */
typedef enum
{
  S_SPAWN_ERROR_CODE1 = 1,
  S_SPAWN_ERROR_CODE2 = 2,
  S_SPAWN_ERROR_CODE3 = 3
} SSpawnError;
GQuark s_spawn_error_quark (void);

/* Like GDBusError but not registered with GType */
typedef enum
{
  S_DBUS_ERROR_CODE1 = 1,
  S_DBUS_ERROR_CODE2 = 2,
  S_DBUS_ERROR_CODE3 = 3
} SDBusError;
GQuark s_dbus_error_quark (void);

#endif