dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtstyle / Protocol.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 libraries 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: Protocol.h /main/5 1996/03/25 00:53:06 pascale $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        Protocol.h
28  **
29  **   Project:     DT 3.0
30  **
31  **  This file contains function definitions for the corresponding .c
32  **  file
33  **
34  **
35  ****************************************************************************
36  ************************************<+>*************************************/
37 /*
38  * (c) Copyright 1996 Digital Equipment Corporation.
39  * (c) Copyright 1990, 1996 Hewlett-Packard Company.
40  * (c) Copyright 1996 International Business Machines Corp.
41  * (c) Copyright 1996 Sun Microsystems, Inc.
42  * (c) Copyright 1996 Novell, Inc. 
43  * (c) Copyright 1996 FUJITSU LIMITED.
44  * (c) Copyright 1996 Hitachi.
45  */
46
47 #ifndef _protocol_h
48 #define _protocol_h
49
50 extern Window   smWindow;
51
52
53 /* External Interface */
54
55
56 extern void MwmReparentNotify(
57                             Widget w,
58                             XtPointer client_data,
59                             XEvent *event ) ;
60 extern void InitDtstyleProtocol( void ) ;
61 extern void GetSessionSaveMode(  unsigned char **mode ) ;
62 extern void SetWindowProperties( void ) ;
63 extern void SmSaveHomeSession(  
64                                 int origStartState,
65                                 int origConfirmMode);
66 extern void SmDefaultAudioSettings( void ) ;
67 extern void SmDefaultScreenSettings( void ) ;
68 extern void SmDefaultKeyboardSettings( void ) ;
69 extern void SmNewAudioSettings(
70                                 int volume,
71                                 int tone,
72                                 int duration ) ;
73
74 extern void SmNewScreenSettings(
75                                 int timeout,
76                                 int blanking,
77                                 int interval,
78                                 int exposures ) ;
79 extern void SmNewLockSettings(
80                                 int lock,
81                                 int cover ) ;
82
83 extern void SmNewKeyboardSettings(
84                                 int keyClickPercent,
85                                 int  autoRepeat) ;
86 extern void SmNewPointerSettings(
87                                 char *pointerString) ;
88 extern void SmNewStartupSettings( void ) ;
89 extern void SmNewFontSettings( 
90                                 char *fontResourceString) ;
91
92 extern void SmNewPreeditSettings( 
93                                 char *preeditResourceString) ;
94
95
96 #endif /* _protocol_h */
97 /* DON'T ADD ANYTHING AFTER THIS #endif */