(file) Return to indicationSchema.h CVS log (file) (dir) Up to [OMI] / omi / provmgr

 1 krisbash 1.1 /*
 2              **==============================================================================
 3              **
 4              ** Open Management Infrastructure (OMI)
 5              **
 6              ** Copyright (c) Microsoft Corporation
 7              ** 
 8              ** Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 9              ** use this file except in compliance with the License. You may obtain a copy 
10              ** of the License at 
11              **
12              **     http://www.apache.org/licenses/LICENSE-2.0 
13              **
14              ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15              ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
16              ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
17              ** MERCHANTABLITY OR NON-INFRINGEMENT. 
18              **
19              ** See the Apache 2 License for the specific language governing permissions 
20              ** and limitations under the License.
21              **
22 krisbash 1.1 **==============================================================================
23              */
24              
25              #ifndef _indicationSchema_h
26              #define _indicationSchema_h
27              
28              #include <MI.h>
29              
30              /*
31               * ==============================================================================
32               * 
33               *     Instructions for generating Lifecycle Indication Classes:
34               *
35               * ==============================================================================
36               *
37               * 1. Build entire code base to generate `omigen`
38               * 2. In your home directory, create a dummy mof file:
39               *     a. Contents:
40               *         class Dummy_A {};
41               *     b. Save as dummy.mof
42               * 3. Generate the files:
43 krisbash 1.1  *     a. <OMI bin dir>/omigen ./dummy.mof Dummy_A -n -e CIM_InstCreation CIM_InstDeletion CIM_InstMethodCall CIM_InstModification CIM_InstRead
44               *     b. Note: This will automatically generate CIM_Indication and CIM_InstIndication
45               * 4. Remove references to Dummy_A from schema.c
46               * 5. Rename schema.c to indicationSchema.c
47               * 6. Update the RTTI externs in indicationSchema.h if CIM_Inst* classes were added or removed.
48               *
49               * ==============================================================================
50               */
51              
52              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_Indication_rtti;
53              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstIndication_rtti;
54              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstCreation_rtti;
55              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstDeletion_rtti;
56              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstMethodCall_rtti;
57              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstModification_rtti;
58              MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstRead_rtti;
59              
60              #endif /* _indicationSchema_h */
61              

ViewCVS 0.9.2