ITK Function Reference

(V10000.1.0.60_20160308.00)
dmi_handler.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 /* */
13 
14 #ifndef IMANHANDLER_H
15 #define IMANHANDLER_H
16 
17 #include <dmi/libdmi_exports.h>
18 
28 typedef int (* OpenHandler_t)(
29  tag_t dataset,
30  tag_t datasetType,
31  tag_t tool_tag,
32  void* aUserData
33  );
34 
35 #ifdef __cplusplus
36  extern "C"{
37 #endif
38 
44 extern DMI_API int DMI_registerOpenHandler(
45  tag_t datasetType,
46  tag_t tool,
47  OpenHandler_t action,
48  void* user_data
49  );
50 
51 extern void DMI_unregisterOpenHandler(
52  tag_t datasetType,
53  tag_t tool
54  );
55 
56 extern void DMI_unregisterAllHandlers();
57 
60 #ifdef __cplusplus
61 }
62 #endif
63 
66 #include <dmi/libdmi_undef.h>
67 #endif