From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- spectro/dev.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 spectro/dev.h (limited to 'spectro/dev.h') diff --git a/spectro/dev.h b/spectro/dev.h new file mode 100644 index 0000000..0b62de3 --- /dev/null +++ b/spectro/dev.h @@ -0,0 +1,41 @@ + +#ifndef DEV_H + +/* + * Abstract base class for all devices handled here. + */ + +/* + * Argyll Color Correction System + * + * Author: Graeme W. Gill + * Date: 17/8/2016 + * + * Copyright 2016 Graeme W. Gill + * All rights reserved. + * + * This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :- + * see the License2.txt file for licencing details. + * + */ + +#include "icoms.h" /* libinst Includes this functionality */ +#include "conv.h" + +#ifdef __cplusplus + extern "C" { +#endif + +/* Device base object. */ +#define DEV_OBJ_BASE \ + a1log *log; /* Pointer to debug & error logging class */ \ + icoms *icom; /* Device coms object */ \ + instType itype; /* Device type determined by driver */ \ + +/* The base object type */ +struct _dev { + DEV_OBJ_BASE + }; typedef struct _dev dev; + +#define DEV_H +#endif /* DEV_H */ -- cgit v1.2.3