Link with C++ linker
[oweals/cde.git] / cde / programs / dtstyle / ColorFile.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: ColorFile.h /main/4 1995/10/30 13:08:30 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        ColorFile.h
28  **
29  **   Project:     DT 3.0
30  **
31  **  This file contains function definitions for the corresponding .c
32  **  file
33  **
34  **
35  **  (c) Copyright Hewlett-Packard Company, 1990.  
36  **
37  **
38  **
39  ****************************************************************************
40  ************************************<+>*************************************/
41 #ifndef _colorfile_h
42 #define _colorfile_h
43
44 /* External variables */
45
46 #define DT_PAL_DIR  "/.dt/palettes/"
47 /* 
48 extern char *DT_PAL_DIR = "/.dt/palettes/"; 
49 */
50
51 /* External Interface */
52
53
54 extern void ReadPalette( char *directory, 
55                          char *in_filename,
56 #if NeedWidePrototypes
57                          int length );
58 #else
59                          short length );
60 #endif
61 extern void AddSystemPath( void );
62 extern void AddDirectories( char *text );
63 extern void AddHomePath( void );
64 #if NeedWidePrototypes
65 extern Boolean ReadPaletteLoop( int startup );
66 #else
67 extern Boolean ReadPaletteLoop( Boolean startup );
68 #endif
69 extern void BackdropDialog( Widget parent) ;
70 extern void CheckWorkspace( void ) ;
71 extern void restoreBackdrop( Widget shell, XrmDatabase db) ;
72 extern void saveBackdrop( int fd) ;
73 extern void CheckFileType( void );
74
75
76 #endif /* _colorfile_h */
77 /* DON'T ADD ANYTHING AFTER THIS #endif */