Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtSvc / DtUtil1 / SessionP.h
1 /* $TOG: SessionP.h /main/5 1998/07/30 12:11:06 mgreess $ */
2 /*                                                                            *
3  * (c) Copyright 1993, 1994 Hewlett-Packard Company                           *
4  * (c) Copyright 1993, 1994 International Business Machines Corp.             *
5  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                            *
6  * (c) Copyright 1993, 1994 Novell, Inc.                                      *
7  */
8 /*************************************<+>*************************************
9  *****************************************************************************
10  **
11  **  File:        SessionP.h
12  **
13  **  Description:  Private header for Session Management routines
14  **  -----------
15  **
16  *******************************************************************
17  **  (c) Copyright Hewlett-Packard Company, 1990.  All rights are  
18  **  reserved.  Copying or other reproduction of this program      
19  **  except for archival purposes is prohibited without prior      
20  **  written consent of Hewlett-Packard Company.                     
21  ********************************************************************
22  **
23  **
24  **
25  *****************************************************************************
26  *************************************<+>*************************************/
27
28 #ifndef _SessionP_h
29 #define _SessionP_h
30
31 /*
32  *  include statements
33  */
34
35 /*
36  * define statements
37  */
38
39 /*
40  * typedef statements
41  */
42
43 /*
44  * Definition for the _DT_SM_WINDOW_INFO property. 
45  */
46 typedef struct
47 {
48     unsigned long flags;
49     unsigned long smWindow;
50 } PropDtSmWindowInfo;
51
52 /*
53  * Definition for the _DT_SM_STATE_INFO property
54  */
55 typedef struct
56 {
57     unsigned long flags;
58     unsigned long smStartState;
59     unsigned long smConfirmMode;
60     unsigned long smCompatMode;
61     unsigned long smSendSettings;
62     unsigned long smCoverScreen;
63     unsigned long smLockOnTimeout;
64     unsigned long smLockOnTimeoutStatus;
65     unsigned long smCycleTimeout;
66     unsigned long smLockTimeout;
67     unsigned long smSaverTimeout;
68     unsigned long smRandom;
69     unsigned long smDisplaySpecific;
70 } PropDtSmStateInfo;
71
72 /*
73  * Definition for the _DT_SM_SCREEN_INFO property
74  */
75 typedef struct
76 {
77     unsigned long flags;
78     unsigned long smTimeout;
79     unsigned long smInterval;
80     unsigned long smPreferBlank;
81     unsigned long smAllowExp;
82 } PropDtSmScreenInfo;
83
84 /*
85  * Definition for the _DT_SM_AUDIO_INFO property
86  */
87 typedef struct
88 {
89     unsigned long flags;
90     unsigned long smBellPercent;
91     unsigned long smBellPitch;
92     unsigned long smBellDuration;
93 } PropDtSmAudioInfo;
94
95
96 /*
97  * Definition for the _DT_SM_KEYBOARD_INFO property
98  */
99 typedef struct
100 {
101     unsigned long flags;
102     unsigned long smKeyClickPercent;
103     unsigned long smGlobalAutoRepeat;
104 } PropDtSmKeyboardInfo;
105
106
107 #endif /* _SessionP_h */
108 /* Do not add anything after this endif. */