Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
77
cde/programs/dtsession/SmProp.h
Normal file
77
cde/programs/dtsession/SmProp.h
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* (c) Copyright 1995 Digital Equipment Corporation.
|
||||
* (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
|
||||
* (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
|
||||
* (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1993, 1994, 1995 Novell, Inc.
|
||||
* (c) Copyright 1995 FUJITSU LIMITED.
|
||||
* (c) Copyright 1995 Hitachi.
|
||||
*
|
||||
* $XConsortium: SmProp.h /main/2 1996/02/02 15:14:26 barstow $
|
||||
*/
|
||||
/******************************************************************************
|
||||
|
||||
Copyright (c) 1993 X Consortium
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of the X Consortium shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from the X Consortium.
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef _smprop_h
|
||||
#define _smprop_h
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
#include "SmXSMP.h"
|
||||
|
||||
extern void SetPropertiesProc (
|
||||
SmsConn smsConn,
|
||||
SmPointer managerData,
|
||||
int numProps,
|
||||
SmProp **props);
|
||||
|
||||
extern void DeletePropertiesProc (
|
||||
SmsConn smsConn,
|
||||
SmPointer managerData,
|
||||
int numProps,
|
||||
char **propNames);
|
||||
|
||||
extern void GetPropertiesProc (
|
||||
SmsConn smsConn,
|
||||
SmPointer managerData);
|
||||
|
||||
extern PropertyRecPtr GetPropertyRec (
|
||||
ClientRecPtr pClientRec,
|
||||
char * propName);
|
||||
|
||||
extern char * GetArrayPropertyValue (
|
||||
ClientRecPtr pClientRec,
|
||||
char * propName);
|
||||
|
||||
extern char ** GetListOfArrayPropertyValue (
|
||||
ClientRecPtr pClientRec,
|
||||
char * propName);
|
||||
|
||||
extern Boolean GetCardPropertyValue (
|
||||
ClientRecPtr pClientRec,
|
||||
char * propName,
|
||||
int * propValue); /* MODIFIED */
|
||||
|
||||
#endif /* _smprop_h */
|
||||
Reference in New Issue
Block a user