Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.78 KB | None | 0 0
  1.   // hook into context sensitive help. Matches with numbers in WindowLinkTable.txt
  2.   int subid = (isimp && !isgf && !is2d && isgeom ) ? 1 :  // input SeisWorks 3D Geometry
  3.               (isimp && !isgf && !is2d && !isgeom ) ? 2 :           // input SeisWorks 3D Attribute
  4.               (isimp && !isgf && is2d ) ? 3 :               // input SeisWorks 2D
  5.               (isimp && isgf && !is2d ) ? 4 :               // input GeoFrame 3D
  6.               (isimp && isgf && is2d ) ? 5 :                // input GeoFrame 3D
  7.               (!isimp && !isgf && !is2d ) ? 6 :             // export SeisWorks 3D
  8.               (!isimp && !isgf && is2d ) ? 7 :              // export SeisWorks 2D
  9.               (!isimp && isgf && !is2d ) ? 8 :              // export GeoFrame 3D
  10.               (!isimp && isgf && is2d ) ? 9 : 0;            // export GeoFrame 2D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement