1 /*--------------------------------------------------------------------
2  *
3  *	Copyright (c) 1991-2021 by the GMT Team (https://www.generic-mapping-tools.org/team.html)
4  *	See LICENSE.TXT file for copying and redistribution conditions.
5  *
6  *	This program is free software; you can redistribute it and/or modify
7  *	it under the terms of the GNU Lesser General Public License as published by
8  *	the Free Software Foundation; version 3 or any later version.
9  *
10  *	This program is distributed in the hope that it will be useful,
11  *	but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *	GNU Lesser General Public License for more details.
14  *
15  *	Contact info: www.generic-mapping-tools.org
16  *--------------------------------------------------------------------
17  *
18  * Author:	Paul Wessel
19  * Date:	23-JUN-2017
20  * Version:	6
21  */
22 
23 /*!
24  * \file gmt_modern.h
25  * \brief Definitions of constants used through GMT for modern mode.
26  */
27 
28 #ifndef GMT_MODERN_H
29 #define GMT_MODERN_H
30 
31 #define GMT_HISTORY_FILE	"gmt.history"
32 #define GMT_SESSION_FILE	"gmt.session"
33 #define GMT_SETTINGS_FILE	"gmt.conf"
34 
35 /* Session settings for default plot file prefix and format (extension) */
36 
37 #define GMT_SESSION_NAME	"gmtsession"	/* Default prefix for single-figure modern sessions */
38 #define GMT_SESSION_FORMAT	0		/* Default entry into gmt_session_format|code arrays -> PDF */
39 #define GMT_SESSION_CONVERT	"A"		/* Default psconvert options in gmt figure */
40 
41 /* Declarations of modern mode module names.  These functions will
42  * call the classically-named modules (e.g., plot will call psxy) but
43  * only if modern mode is in effect. */
44 
45 /* Modern names: core */
46 
47 EXTERN_MSC int GMT_basemap (void *API, int mode, void *args);
48 EXTERN_MSC int GMT_clip (void *API, int mode, void *args);
49 EXTERN_MSC int GMT_coast (void *API, int mode, void *args);
50 EXTERN_MSC int GMT_contour (void *API, int mode, void *args);
51 EXTERN_MSC int GMT_events (void *API, int mode, void *args);
52 EXTERN_MSC int GMT_histogram (void *API, int mode, void *args);
53 EXTERN_MSC int GMT_image (void *API, int mode, void *args);
54 EXTERN_MSC int GMT_legend (void *API, int mode, void *args);
55 EXTERN_MSC int GMT_mask (void *API, int mode, void *args);
56 EXTERN_MSC int GMT_rose (void *API, int mode, void *args);
57 EXTERN_MSC int GMT_colorbar (void *API, int mode, void *args);
58 EXTERN_MSC int GMT_solar (void *API, int mode, void *args);
59 EXTERN_MSC int GMT_ternary (void *API, int mode, void *args);
60 EXTERN_MSC int GMT_text (void *API, int mode, void *args);
61 EXTERN_MSC int GMT_wiggle (void *API, int mode, void *args);
62 EXTERN_MSC int GMT_plot (void *API, int mode, void *args);
63 EXTERN_MSC int GMT_plot3d (void *API, int mode, void *args);
64 
65 /* Modern names: supplements */
66 
67 EXTERN_MSC int GMT_coupe (void *API, int mode, void *args);
68 EXTERN_MSC int GMT_meca (void *API, int mode, void *args);
69 EXTERN_MSC int GMT_polar (void *API, int mode, void *args);
70 EXTERN_MSC int GMT_sac (void *API, int mode, void *args);
71 EXTERN_MSC int GMT_velo (void *API, int mode, void *args);
72 EXTERN_MSC int GMT_segyz (void *API, int mode, void *args);
73 EXTERN_MSC int GMT_segy (void *API, int mode, void *args);
74 
75 EXTERN_MSC const char *gmt_current_name (const char *module, char modname[]);
76 EXTERN_MSC const char *gmt_get_full_name (struct GMTAPI_CTRL *API, const char *module);
77 
78 #endif  /* GMT_MODERN_H */
79