summaryrefslogtreecommitdiff
path: root/tests/scanner/sletter.h
blob: f6a146dfc9d5fc09a29af9922025e7fe02fe4ba5 (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
32
33
34
35
36
37
38
#ifndef __SLETTER_H__
#define __SLETTER_H__

#include <gio/gio.h>

#include "gitestmacros.h"

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

_GI_TEST_EXTERN
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;

_GI_TEST_EXTERN
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;

_GI_TEST_EXTERN
GQuark s_dbus_error_quark (void);

#endif