Remove UXPDS support
[oweals/cde.git] / cde / programs / dtwm / WmPanelP.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 /*
24  * $XConsortium: WmPanelP.h /main/4 1995/11/01 11:45:57 rswiston $
25  */
26 /******************************<+>*************************************
27  **********************************************************************
28  **
29  **  File:        WmPanelP.h
30  **
31  **  Project:     HP/Motif Workspace Manager (dtwm)
32  **
33  **  Description:
34  **  -----------
35  **  This file contains private declarations for the Front Panel
36  **  subsystem.
37  **
38  **
39  **********************************************************************
40  **
41  ** (c) Copyright 1992 HEWLETT-PACKARD COMPANY
42  ** ALL RIGHTS RESERVED
43  **
44  **********************************************************************
45  **********************************************************************
46  **
47  **
48  **********************************************************************
49  ******************************<+>*************************************/
50
51 #ifndef _WmPanelP_h
52 #define _WmPanelP_h
53
54 #include <Xm/XmP.h>
55 #include "WmGlobal.h"
56
57 #include "DataBaseLoad.h"
58
59 typedef struct PanelData * WmPanelistObject;
60
61 #define O_Panel(o) panel.form
62
63
64 #include <time.h>
65 #if defined(_AIX) || defined(USL)
66 #include <sys/time.h> /* needed for timeval */
67 #endif
68
69
70 typedef struct
71     {
72     String       pchResName;    /* match res_name member of WM_CLASS prop */
73     Widget       wControl;      /* control associated with client */
74     Window       winParent;     /* window to reparent client to */
75     Position     x, y;          /* position of client in winParent */
76     Dimension    width, height; /* required size of client */
77     ClientData  *pCD;           /* filled in when managed, else NULL */
78     }   WmFpEmbeddedClientData, *WmFpEmbeddedClientList;
79
80 typedef struct _WmFpPushRecallClientData
81 {
82    String           pchResName;         /* match res_name member of WM_CLASS prop */
83    Widget           wControl;           /* control associated with client */
84    ClientData     * pCD;                /* filled in when managed, else NULL */
85    struct timeval   tvTimeout;          /* Time for client to start */
86 } WmFpPushRecallClientData, *WmFpPushRecallClientList;
87
88
89
90 void    WmSubpanelPosted (Display *, Window);
91 Widget  WmPanelistAllocate(Widget, XtPointer, XtPointer);
92 void    WmPanelistShow (Widget);
93 void    WmPanelistSetWorkspace (Widget, int);
94 void    WmFrontPanelSetBusy (Boolean);
95 Widget  WmPanelistWindowToSubpanel (Display *, Window);
96 void    WmFrontPanelSessionSaveData ();
97
98
99
100 #endif /* _WmPanelP_h */
101 /* DON'T ADD ANYTHING AFTER THIS #endif */