source: trunk/src/gui/common/nepmd.h

Last change on this file was 3655, checked in by Andreas Schnellbacher, 6 years ago
  • Moved code from nepmdlib.c and nepmd.h to info.e.
  • Handle closing of old info file if it's the only file in the ring.
  • Added execution of postme CheckNepmdVersion.
  • Property svn:keywords set to Date Revision Author HeadURL Id
File size: 2.9 KB
Line 
1/****************************** Module Header *******************************
2*
3* Module Name: nepmd.h
4*
5* Header with common values used by all source files of NEPMD.
6*
7* Copyright (c) Netlabs EPM Distribution Project 2002
8*
9* $Id: nepmd.h 3655 2019-10-06 18:26:24Z aschn $
10*
11* ===========================================================================
12*
13* This file is part of the Netlabs EPM Distribution package and is free
14* software. You can redistribute it and/or modify it under the terms of the
15* GNU General Public License as published by the Free Software
16* Foundation, in version 2 as it comes in the "COPYING" file of the
17* Netlabs EPM Distribution. This library is distributed in the hope that it
18* will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20* General Public License for more details.
21*
22****************************************************************************/
23
24#ifndef NEPMD_H
25#define NEPMD_H
26
27#define __HOMEPAGE__ "http://trac.netlabs.org/nepmd"
28
29// INI app names and keys of NEPMD project from OS2.INI
30#define NEPMD_INI_APPNAME "NEPMD"
31#define NEPMD_INI_KEYNAME_LANGUAGE "Language"
32#define NEPMD_INI_KEYNAME_ROOTDIR "RootDir"
33#define NEPMD_INI_KEYNAME_USERDIR "UserDir"
34
35#define NEPMD_SUBPATH_DEFAULTUSERDIR "myepm"
36
37// path definitions relative to NEPMD install dir
38// NOTE: last word of symbol names are taken from the
39// names of the macros used in makefiles where applicable ;-)
40
41#define NEPMD_SUBPATH_BINBINDIR "netlabs\\bin"
42#define NEPMD_SUBPATH_CMPINFDIR "netlabs\\book"
43#define NEPMD_SUBPATH_CMPHLPDIR "netlabs\\help"
44#define NEPMD_SUBPATH_USERBINDIR "bin"
45
46// file path and name definitions used by NepmdGetInstFilename
47
48#define NEPMD_SUBPATH_INIFILE NEPMD_SUBPATH_USERBINDIR
49#define NEPMD_DEVPATH_INIFILE "debug"
50#define NEPMD_FILENAME_INIFILE "nepmd.ini"
51
52#define NEPMD_SUBPATH_MESSAGEFILE NEPMD_SUBPATH_BINBINDIR
53#define NEPMD_DEVPATH_MESSAGEFILE "src\\nls\\netlabs\\bin"
54#define NEPMD_FILENAME_MESSAGEFILE "nepmd%s.tmf"
55
56#define NEPMD_SUBPATH_INFFILE NEPMD_SUBPATH_CMPINFDIR
57#define NEPMD_DEVPATH_INFFILE "compile\\base\\"NEPMD_SUBPATH_CMPINFDIR
58#define NEPMD_FILENAME_USRINFFILE "neusr%s.inf"
59#define NEPMD_FILENAME_PRGINFFILE "neprg%s.inf"
60
61#define NEPMD_SUBPATH_HELPFILE NEPMD_SUBPATH_CMPINFDIR
62#define NEPMD_DEVPATH_HELPFILE "compile\\base\\"NEPMD_SUBPATH_CMPHLPDIR
63#define NEPMD_FILENAME_HELPFILE "nepmd%s.hlp"
64
65// filenames used by NepmdInitconfig
66#define NEPMD_SUBPATH_DEFAULTSFILE NEPMD_SUBPATH_BINBINDIR
67#define NEPMD_FILENAME_DEFAULTSFILE "defaults.cfg"
68#define NEPMD_DEVPATH_DEFAULTSFILE "src\\netlabs\\bin"
69#define NEPMD_SUBPATH_USERFILE NEPMD_SUBPATH_USERBINDIR
70#define NEPMD_FILENAME_USERFILE "user.cfg"
71
72#endif // NEPMD_H
73
Note: See TracBrowser for help on using the repository browser.