filename | src/maple/maple.h |
changeset | 450:207461e79f21 |
prev | 447:3e095bfcb476 |
next | 460:a0c865b74c63 |
author | nkeynes |
date | Wed Oct 17 11:26:45 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Split config management out to config.[ch] Manage config filename Check home dir + sysconfdir for conf file Initial work on a path settings dialog |
file | annotate | diff | log | raw |
1.1 --- a/src/maple/maple.h Tue Oct 16 12:36:29 2007 +00001.2 +++ b/src/maple/maple.h Wed Oct 17 11:26:45 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: maple.h,v 1.6 2007-10-16 12:36:29 nkeynes Exp $1.6 + * $Id: maple.h,v 1.7 2007-10-17 11:26:45 nkeynes Exp $1.7 *1.8 * Maple bus definitions1.9 *1.10 @@ -16,10 +16,11 @@1.11 * GNU General Public License for more details.1.12 */1.14 -#ifndef dream_maple_H1.15 -#define dream_maple_H 11.16 +#ifndef lxdream_maple_H1.17 +#define lxdream_maple_H 11.19 -#include "dreamcast.h"1.20 +#include <stdint.h>1.21 +#include "config.h"1.23 #define MAPLE_CMD_INFO 1 /* Request device information */1.24 #define MAPLE_CMD_EXT_INFO 2 /* Request extended information */1.25 @@ -70,7 +71,7 @@1.26 maple_device_class_t device_class;1.27 unsigned char ident[112];1.28 unsigned char version[80];1.29 - dreamcast_config_entry_t (*get_config)(struct maple_device *dev);1.30 + lxdream_config_entry_t (*get_config)(struct maple_device *dev);1.31 void (*attach)(struct maple_device *dev);1.32 void (*detach)(struct maple_device *dev);1.33 void (*destroy)(struct maple_device *dev);1.34 @@ -93,7 +94,7 @@1.35 maple_device_t maple_get_device( unsigned int port, unsigned int periph );1.36 const maple_device_class_t maple_get_device_class( const gchar *name );1.37 const struct maple_device_class **maple_get_device_classes();1.38 -dreamcast_config_entry_t maple_get_device_config( maple_device_t dev );1.39 +lxdream_config_entry_t maple_get_device_config( maple_device_t dev );1.41 void maple_handle_buffer( uint32_t buffer );1.42 void maple_attach_device( maple_device_t dev, unsigned int port, unsigned int periph );1.43 @@ -101,4 +102,4 @@1.44 void maple_detach_all( );1.45 void maple_reattach_all( );1.47 -#endif /* !dream_maple_H */1.48 +#endif /* !lxdream_maple_H */
.