UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
view_spec.h
1 /* view_spec.h */
2 /* $Id: view_spec.h,v 1.6 2002/05/08 19:08:55 vlad Exp $ */
3 #ifndef __view_spec_h
4 #define __view_spec_h
5 
6 /***********************************************************************
7  * View UNIVERS-specific data or other objects via 'view_spec' utility.
8  ***********************************************************************/
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* __cplusplus */
13 
14 /* Allowed types to view */
15 typedef enum
16 {
17  vsJobsLog, /* job's log: const char* jobname */
18  vsDocument, /* document (in HTML): const char* filename */
19  vsDbtName, /* data base table: const dbNameStruct* ns */
20  vsDbtItem, /* data base table: const dbItem* it */
21  vsDbtPointer, /* data base table: const dbPointer* ptr */
22  vsNmod, /* seismic trace file: const char* nmod */
23  vsTerminal, /* terminal session: const char* prog [opt] */
24  vsAnyFile, /* arbitrary file: const char* path */
25  vsDocDescription, /* description section in document (in HTML):
26  const char* filename */
27  vsHelpDoc, /* context help (in *.help): const char* appname */
28  vsPostScript /* PS or PDF file: const char* filename */
29 
30 } vsKind;
31 
32 
33 /* Main view procedure */
34 void vsStartViewer (vsKind kind, const void* object);
35 
36 
37 #ifdef __cplusplus
38 };
39 #endif /* __cplusplus */
40 
41 #endif /* view_spec.h */