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