Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab / brwsP.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 /*
24  *      $XConsortium: brwsP.h /main/3 1995/11/06 17:20:46 rswiston $
25  *
26  * @(#)brwsP.h  1.15 03 Oct 1994
27  *
28  *      RESTRICTED CONFIDENTIAL INFORMATION:
29  *      
30  *      The information in this document is subject to special
31  *      restrictions in a confidential disclosure agreement between
32  *      HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
33  *      document outside HP, IBM, Sun, USL, SCO, or Univel without
34  *      Sun's specific written approval.  This document and all copies
35  *      and derivative works thereof must be returned or destroyed at
36  *      Sun's request.
37  *
38  *      Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
39  *
40  */
41
42 /*
43  * brwsP.h
44  * Private declarations for browser
45  */
46 #ifndef _BRWSP_H
47 #define _BRWSP_H
48
49 #include <ab_private/brws.h>
50 #include "brws_ui.h"
51
52 extern Widget           brws_draw_area(
53                             Vwr v
54                         );
55
56 void                    brwsP_create_find_box(
57                             ABBrowser   b
58                         );
59
60 void                    brwsP_destroy_find_box(
61                             Vwr v
62                         );
63
64 void                    brwsP_show_find_box(
65                             Vwr v
66                         );
67
68 void                    brwsP_hide_find_box(
69                             Vwr v
70                         );
71
72 int                     brwsP_select_fn(
73                             VNode       vnode
74                         );
75
76 void                    brwsP_sync_views(
77                             ABBrowser   ab,
78                             short       select_at_least_one
79                         );
80
81 void                    browser_show_view_elements(
82                             Viewer              *b,
83                             unsigned long       mask,
84                             Widget              widget,
85                             char                *set_str,
86                             char                *unset_str
87                         );
88
89 void                    recompute_viewer(
90                             Viewer      *v
91                         );
92
93 int                     brwsP_node_is_collapsed(
94                             VNode       vnode
95                         );
96
97 int                     brwsP_node_is_visible(
98                             VNode       vnode
99                         );
100
101 void                    brwsP_make_drawarea_snap(
102                             Vwr         v,
103                             Widget      draw_area
104                         );
105
106 void                    brwsP_collapse_selected(
107                             ABBrowser   ab
108                         );
109
110 void                    brwsP_expand_selected(
111                             ABBrowser   ab
112                         );
113
114 void                    brwsP_expand_collapsed(
115                             ABBrowser   ab
116                         );
117
118 void                    brwsP_tear_off_selected(
119                             ABBrowser   ab
120                         );
121
122 #endif /* _BRWSP_H */