1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 9 #include <dxconfig.h> 10 11 12 13 14 #ifndef _DXVersion_h 15 #define _DXVersion_h 16 17 #include "../base/IBMVersion.h" 18 19 /* The DX release version number. */ 20 /* FIXME: If IBM_*_VERSION != DX_*_VERSION then 21 * DXApplication::getVersionNumbers(), must be implemented to return 22 * the right version numbers (i.e. DX* not IBM*). 23 */ 24 #define DX_MAJOR_VERSION IBM_MAJOR_VERSION 25 #define DX_MINOR_VERSION IBM_MINOR_VERSION 26 #define DX_MICRO_VERSION IBM_MICRO_VERSION 27 28 29 /* The version number for the ui/exec communication stream. */ 30 #define PIF_MAJOR_VERSION 2 31 #define PIF_MINOR_VERSION 0 32 #define PIF_MICRO_VERSION 0 33 34 /* The version number for the .net and .cfg files. */ 35 /* 36 * In general the user gets a message (see Network.c) if: 37 * 1) The UI is parsing a .net or .cfg file that has a later 38 * version number then its own internal version number 39 * (i.e. NETFILE_*_VERSION). 40 * 41 * Rules for changing the net file version number: 42 * 43 * Major - Change this number between releases if 44 * 1) An older version of the UI (by at least the major 45 * version number) will not be able to parse 46 * the change. 47 * 48 * Minor - Change this number between releases if 49 * 1) if you want the user to be notified when the ui is reading 50 * a .net (not .cfg) that is older by at least a minor 51 * version number. 52 * 53 * Micro - Change this number between releases if 54 * 1) anything changes in a .net or .cfg file and the major 55 * and minor numbers were not changed. In general, 56 * the user does not get notified about differences in 57 * micro version numbers (other than the standard 58 * 'module definition changed' message). 59 * 60 * 61 * 62 * 63 * 2.0.0 adds lots 64 * 2.0.1 adds another parameter to the Image macro. 65 * 2.0.2 actually nothing has changed (as of 4/5/94), but this number 66 * was bumped in the PVS 2.0.2 release when we thought we were just 67 * going to use the DX version numer. 68 * 2.0.3 version that goes out with dx 2.1.1 and has the .cfg 'version' 69 * comment in front of the 'time' comment. 70 * 3.0.0 adds 'size = %dx%d' to .cfg instance comments and changed Colormap 71 * parameters (requires major number change). 72 * 3.0.1 uses include macro comments in the top of .net files. The version 73 * of DX which writes 3.0.1 nets cannot create new Get/Set modules. 74 * Assumption: the include macro comments won't cause problems for 75 * earlier versions of DX. 76 * 3.1.0 adds vpe decorators, several new modules, a new param in ScalarNode. 77 * also adds pages and annotation group comments. 78 * 3.1.1 adds a transmitter/receiver bug fix in which the net was not written out 79 * in sorted order. The bumped micro number allows TransmitterNode to scan 80 * the network conditionally. 81 * ...adds multi line capability to LabelDecorators in {print,parse}Comment 82 * 3.1.2 (DX3.1.5) Streakline added a param. Users will _not_ be notified 83 * 3.2.0 Adds OPTIONS line in the mdf section in macros' .net files 84 */ 85 #define NETFILE_MAJOR_VERSION 3 86 #define NETFILE_MINOR_VERSION 2 87 #define NETFILE_MICRO_VERSION 0 88 89 90 91 #endif /* _DXVersion_h */ 92