Files
cdesktop/cde/programs/dtwm/WmPanelP.h

80 lines
2.3 KiB
C

/*
* $XConsortium: WmPanelP.h /main/4 1995/11/01 11:45:57 rswiston $
*/
/******************************<+>*************************************
**********************************************************************
**
** File: WmPanelP.h
**
** Project: HP/Motif Workspace Manager (dtwm)
**
** Description:
** -----------
** This file contains private declarations for the Front Panel
** subsystem.
**
**
**********************************************************************
**
** (c) Copyright 1992 HEWLETT-PACKARD COMPANY
** ALL RIGHTS RESERVED
**
**********************************************************************
**********************************************************************
**
**
**********************************************************************
******************************<+>*************************************/
#ifndef _WmPanelP_h
#define _WmPanelP_h
#include <Xm/XmP.h>
#include "WmGlobal.h"
#include "DataBaseLoad.h"
typedef struct PanelData * WmPanelistObject;
#define O_Panel(o) panel.form
#include <time.h>
#if defined(_AIX) || defined(USL) || defined(__uxp__)
#include <sys/time.h> /* needed for timeval */
#endif
typedef struct
{
String pchResName; /* match res_name member of WM_CLASS prop */
Widget wControl; /* control associated with client */
Window winParent; /* window to reparent client to */
Position x, y; /* position of client in winParent */
Dimension width, height; /* required size of client */
ClientData *pCD; /* filled in when managed, else NULL */
} WmFpEmbeddedClientData, *WmFpEmbeddedClientList;
typedef struct _WmFpPushRecallClientData
{
String pchResName; /* match res_name member of WM_CLASS prop */
Widget wControl; /* control associated with client */
ClientData * pCD; /* filled in when managed, else NULL */
struct timeval tvTimeout; /* Time for client to start */
} WmFpPushRecallClientData, *WmFpPushRecallClientList;
void WmSubpanelPosted (Display *, Window);
Widget WmPanelistAllocate(Widget, XtPointer, XtPointer);
void WmPanelistShow (Widget);
void WmPanelistSetWorkspace (Widget, int);
void WmFrontPanelSetBusy (Boolean);
Widget WmPanelistWindowToSubpanel (Display *, Window);
void WmFrontPanelSessionSaveData ();
#endif /* _WmPanelP_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */