00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(_GATSOFTWAREDESCRIPTION_H_)
00023 #define _GATSOFTWAREDESCRIPTION_H_
00024
00025
00026 #include "GATObject.h"
00027 #include "GATType.h"
00028 #include "GATTable.h"
00029
00030
00031
00032
00033 GATOBJECT_DECLARE_CONVERTERS(GATSoftwareDescription);
00034
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051 GATSoftwareDescription
00052 GATSoftwareDescription_Create(GATTable_const attributes);
00053
00054
00055
00056
00057
00058
00059
00060
00061 void
00062 GATSoftwareDescription_Destroy(GATSoftwareDescription *object);
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077 GATResult
00078 GATSoftwareDescription_Equals(GATSoftwareDescription_const lhs,
00079 GATSoftwareDescription_const rhs, GATBool *isequal);
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093 GATResult
00094 GATSoftwareDescription_Clone(GATSoftwareDescription_const object,
00095 GATSoftwareDescription *new_object);
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107 GATType
00108 GATSoftwareDescription_GetType(GATSoftwareDescription_const object);
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122 GATResult
00123 GATSoftwareDescription_GetInterface(GATSoftwareDescription_const object,
00124 GATInterface iftype, void const **ifp);
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135 GATTable_const
00136 GATSoftwareDescription_GetAttributes(GATSoftwareDescription_const object);
00137
00138
00139 GATResult
00140 GATSoftwareDescription_SetAttributes(GATSoftwareDescription object,
00141 GATTable_const attributes);
00142
00143
00144
00145 #define GATSOFTWAREDESCRIPTION_VERSION1 0x0100
00146 #define GATSOFTWAREDESCRIPTION_LASTVERSION GATSOFTWAREDESCRIPTION_VERSION1
00147 #define GATSOFTWAREDESCRIPTION_MINOR_MASK 0x00ff
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162 GATResult
00163 GATSoftwareDescription_Serialise(GATSoftwareDescription object, GATObject stream,
00164 GATBool clear_dirty);
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180 GATSoftwareDescription
00181 GATSoftwareDescription_DeSerialise(GATContext context, GATObject stream,
00182 GATResult *result);
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195 GATResult
00196 GATSoftwareDescription_GetIsDirty(GATSoftwareDescription_const object, GATBool *isdirty);
00197
00198 #ifdef __cplusplus
00199 }
00200 #endif
00201
00202 #endif