cdesktopenv/cde/programs/dtfile/Common.h

83 lines
2.5 KiB
C

/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
/* $XConsortium: Common.h /main/4 1995/11/02 14:35:32 rswiston $ */
/************************************<+>*************************************
****************************************************************************
*
* FILE: Common.h
*
* COMPONENT_NAME: Desktop File Manager
*
* DESCRIPTION: Public include file for common dialog code
*
* (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.
*
****************************************************************************
************************************<+>*************************************/
#ifndef _Common_h
#define _Common_h
/* Buffer type - Used to store buffer drag-n-drop info */
typedef struct
{
void * buf_ptr;
int size;
} BufferInfo;
/* Pixmap Data structure */
typedef struct
{
int size;
char *hostPrefix;
char *instanceIconName;
char *iconName;
char *iconFileName;
} PixmapData;
typedef struct _TypesToggleInfo {
String name;
Boolean selected;
} TypesToggleInfo, *TypesToggleInfoPtr;
#define XmROfft "Offt"
/******** Public Function Declarations ********/
extern void CvtStringToStringList(
String string,
String **listPtr,
int *countPtr) ;
extern String CvtStringListToString(
String *list,
int count) ;
/******** End Public Function Declarations ********/
#endif /* _Common_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */