PSI sics-cvs-psi-2006
This commit is contained in:
16
obdes.h
16
obdes.h
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 355 "interface.w"
|
||||
#line 365 "interface.w"
|
||||
|
||||
|
||||
#line 29 "interface.w"
|
||||
@@ -22,11 +22,13 @@
|
||||
#ifndef SICSDESCRIPTOR
|
||||
#define SICSDESCRIPTOR
|
||||
#include <stdio.h>
|
||||
#include <ifile.h>
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
int (*SaveStatus)(void *self, char *name,FILE *fd);
|
||||
void *(*GetInterface)(void *self, int iInterfaceID);
|
||||
IPair *pKeys;
|
||||
} ObjectDescriptor, *pObjectDescriptor;
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
@@ -52,5 +54,15 @@ typedef struct {
|
||||
|
||||
#endif
|
||||
|
||||
#line 356 "interface.w"
|
||||
#line 366 "interface.w"
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* Additional properties used by the ANSTO site to provide more information
|
||||
* about each object instance, especially devices.
|
||||
*/
|
||||
void SetDescriptorKey(pObjectDescriptor self, char *keyName, char *value);
|
||||
void SetDescriptorGroup(pObjectDescriptor self, char *group);
|
||||
void SetDescriptorDescription(pObjectDescriptor self, char *description);
|
||||
char * GetDescriptorKey(pObjectDescriptor self, char *keyName);
|
||||
char * GetDescriptorGroup(pObjectDescriptor self);
|
||||
char * GetDescriptorDescription(pObjectDescriptor self);
|
||||
|
||||
Reference in New Issue
Block a user