NuMaker emWin HMI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers tslib-private.h Source File

tslib-private.h

00001 #ifndef _TSLIB_PRIVATE_H_
00002 #define _TSLIB_PRIVATE_H_
00003 /*
00004  *  tslib/src/tslib-private.h
00005  *
00006  *  Copyright (C) 2001 Russell King.
00007  *
00008  * This file is placed under the LGPL.
00009  *
00010  * $Id: tslib-private.h,v 1.3 2004/07/21 19:12:59 dlowder Exp $
00011  *
00012  * Internal touch screen library definitions.
00013  */
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif /* __cplusplus */
00017 #if 0
00018 #include "tslib.h"
00019 #include "tslib-filter.h"
00020 
00021 struct tsdev
00022 {
00023     int fd;
00024     struct tslib_module_info *list;
00025     struct tslib_module_info *list_raw; /* points to position in 'list' where raw reads
00026                            come from.  default is the position of the
00027                            ts_read_raw module. */
00028 };
00029 
00030 int __ts_attach(struct tsdev *ts, struct tslib_module_info *info);
00031 int __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info);
00032 int ts_load_module(struct tsdev *dev, const char *module, const char *params);
00033 int ts_load_module_raw(struct tsdev *dev, const char *module, const char *params);
00034 int ts_error(const char *fmt, ...);
00035 #endif
00036 #ifdef __cplusplus
00037 }
00038 #endif /* __cplusplus */
00039 #endif /* _TSLIB_PRIVATE_H_ */