Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtstyle / Protocol.h
1 /* $XConsortium: Protocol.h /main/5 1996/03/25 00:53:06 pascale $ */
2 /************************************<+>*************************************
3  ****************************************************************************
4  **
5  **   File:        Protocol.h
6  **
7  **   Project:     DT 3.0
8  **
9  **  This file contains function definitions for the corresponding .c
10  **  file
11  **
12  **
13  ****************************************************************************
14  ************************************<+>*************************************/
15 /*
16  * (c) Copyright 1996 Digital Equipment Corporation.
17  * (c) Copyright 1990, 1996 Hewlett-Packard Company.
18  * (c) Copyright 1996 International Business Machines Corp.
19  * (c) Copyright 1996 Sun Microsystems, Inc.
20  * (c) Copyright 1996 Novell, Inc. 
21  * (c) Copyright 1996 FUJITSU LIMITED.
22  * (c) Copyright 1996 Hitachi.
23  */
24
25 #ifndef _protocol_h
26 #define _protocol_h
27
28 extern Window   smWindow;
29
30
31 /* External Interface */
32
33
34 extern void MwmReparentNotify(
35                             Widget w,
36                             XtPointer client_data,
37                             XEvent *event ) ;
38 extern void InitDtstyleProtocol( void ) ;
39 extern void GetSessionSaveMode(  unsigned char **mode ) ;
40 extern void SetWindowProperties( void ) ;
41 extern void SmSaveHomeSession(  
42                                 int origStartState,
43                                 int origConfirmMode);
44 extern void SmDefaultAudioSettings( void ) ;
45 extern void SmDefaultScreenSettings( void ) ;
46 extern void SmDefaultKeyboardSettings( void ) ;
47 extern void SmNewAudioSettings(
48                                 int volume,
49                                 int tone,
50                                 int duration ) ;
51
52 extern void SmNewScreenSettings(
53                                 int timeout,
54                                 int blanking,
55                                 int interval,
56                                 int exposures ) ;
57 extern void SmNewLockSettings(
58                                 int lock,
59                                 int cover ) ;
60
61 extern void SmNewKeyboardSettings(
62                                 int keyClickPercent,
63                                 int  autoRepeat) ;
64 extern void SmNewPointerSettings(
65                                 char *pointerString) ;
66 extern void SmNewStartupSettings( void ) ;
67 extern void SmNewFontSettings( 
68                                 char *fontResourceString) ;
69
70 extern void SmNewPreeditSettings( 
71                                 char *preeditResourceString) ;
72
73
74 #endif /* _protocol_h */
75 /* DON'T ADD ANYTHING AFTER THIS #endif */