dtwm: basic multihead(xinerama only) support
[oweals/cde.git] / cde / programs / dtfile / ChangeDir.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 librararies 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 /* $XConsortium: ChangeDir.h /main/3 1995/11/02 14:34:52 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  *
27  *   FILE:           ChangeDir.h
28  *
29  *   COMPONENT_NAME: Desktop File Manager
30  *
31  *   DESCRIPTION:    Public include file for the change directory dialog.
32  *
33  *   (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
34  *   (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
35  *   (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
36  *   (c) Copyright 1993, 1994, 1995 Novell, Inc.
37  *
38  ****************************************************************************
39  ************************************<+>*************************************/
40
41 #ifndef _ChangeDir_h
42 #define _ChangeDir_h
43
44
45 extern DialogClass * changeDirClass;
46
47
48 typedef struct
49 {
50    Boolean       displayed;
51    Position      x;
52    Position      y;
53    Dimension     width;
54    Dimension     height;
55    char        * host_name;
56    XmString      string_path;
57    XmStringTable history_list;
58    int           visible_count;
59    int           list_count;
60    XtPointer     file_mgr_rec;
61 } ChangeDirData, * ChangeDirDataPtr;
62
63
64 typedef struct
65 {
66    XtCallbackProc  callback;
67    XtPointer       change_dir_rec;
68    XtPointer       client_data;
69 } ChangeDirApply;
70
71
72 typedef struct
73 {
74    Widget shell;
75    Widget change_dir;
76    ChangeDirApply * apply_data;
77 } ChangeDirRec;
78
79
80 #endif /* _ChangeDir_h */
81 /* DON'T ADD ANYTHING AFTER THIS #endif */