Return to indicationSchema.h CVS log | Up to [OMI] / omi / provmgr |
File: [OMI] / omi / provmgr / indicationSchema.h
(download)
Revision: 1.1, Mon Apr 20 17:19:56 2015 UTC (9 years, 2 months ago) by krisbash Branch: MAIN CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD OMI 1.0.8-1 |
/* **============================================================================== ** ** Open Management Infrastructure (OMI) ** ** Copyright (c) Microsoft Corporation ** ** Licensed under the Apache License, Version 2.0 (the "License"); you may not ** use this file except in compliance with the License. You may obtain a copy ** of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, ** MERCHANTABLITY OR NON-INFRINGEMENT. ** ** See the Apache 2 License for the specific language governing permissions ** and limitations under the License. ** **============================================================================== */ #ifndef _indicationSchema_h #define _indicationSchema_h #include <MI.h> /* * ============================================================================== * * Instructions for generating Lifecycle Indication Classes: * * ============================================================================== * * 1. Build entire code base to generate `omigen` * 2. In your home directory, create a dummy mof file: * a. Contents: * class Dummy_A {}; * b. Save as dummy.mof * 3. Generate the files: * a. <OMI bin dir>/omigen ./dummy.mof Dummy_A -n -e CIM_InstCreation CIM_InstDeletion CIM_InstMethodCall CIM_InstModification CIM_InstRead * b. Note: This will automatically generate CIM_Indication and CIM_InstIndication * 4. Remove references to Dummy_A from schema.c * 5. Rename schema.c to indicationSchema.c * 6. Update the RTTI externs in indicationSchema.h if CIM_Inst* classes were added or removed. * * ============================================================================== */ MI_EXTERN_C MI_CONST MI_ClassDecl CIM_Indication_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstIndication_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstCreation_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstDeletion_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstMethodCall_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstModification_rtti; MI_EXTERN_C MI_CONST MI_ClassDecl CIM_InstRead_rtti; #endif /* _indicationSchema_h */
ViewCVS 0.9.2 |