1/*
2Open Tracker License
3
4Terms and Conditions
5
6Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
7
8Permission is hereby granted, free of charge, to any person obtaining a copy of
9this software and associated documentation files (the "Software"), to deal in
10the Software without restriction, including without limitation the rights to
11use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
12of the Software, and to permit persons to whom the Software is furnished to do
13so, subject to the following conditions:
14
15The above copyright notice and this permission notice applies to all licensees
16and shall be included in all copies or substantial portions of the Software.
17
18THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY,
20FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
23WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
25Except as contained in this notice, the name of Be Incorporated shall not be
26used in advertising or otherwise to promote the sale, use or other dealings in
27this Software without prior written authorization from Be Incorporated.
28
29Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
30of Be Incorporated in the United States and other countries. Other brand product
31names are registered trademarks or trademarks of their respective holders.
32All rights reserved.
33*/
34
35
36#include <FilePanel.h>
37
38#include "FilePanelPriv.h"
39#include "RecentItems.h"
40
41
42// FBC fluff, stick it here to not pollute real .cpp files
43
44void BRecentItemsList::_r1() {}
45void BRecentItemsList::_r2() {}
46void BRecentItemsList::_r3() {}
47void BRecentItemsList::_r4() {}
48void BRecentItemsList::_r5() {}
49void BRecentItemsList::_r6() {}
50void BRecentItemsList::_r7() {}
51void BRecentItemsList::_r8() {}
52void BRecentItemsList::_r9() {}
53void BRecentItemsList::_r10() {}
54void BRecentFilesList::_r11() {}
55void BRecentFilesList::_r12() {}
56void BRecentFilesList::_r13() {}
57void BRecentFilesList::_r14() {}
58void BRecentFilesList::_r15() {}
59void BRecentFilesList::_r16() {}
60void BRecentFilesList::_r17() {}
61void BRecentFilesList::_r18() {}
62void BRecentFilesList::_r19() {}
63void BRecentFilesList::_r110() {}
64void BRecentFoldersList::_r21() {}
65void BRecentFoldersList::_r22() {}
66void BRecentFoldersList::_r23() {}
67void BRecentFoldersList::_r24() {}
68void BRecentFoldersList::_r25() {}
69void BRecentFoldersList::_r26() {}
70void BRecentFoldersList::_r27() {}
71void BRecentFoldersList::_r28() {}
72void BRecentFoldersList::_r29() {}
73void BRecentFoldersList::_r210() {}
74void BRecentAppsList::_r31() {}
75void BRecentAppsList::_r32() {}
76void BRecentAppsList::_r33() {}
77void BRecentAppsList::_r34() {}
78void BRecentAppsList::_r35() {}
79void BRecentAppsList::_r36() {}
80void BRecentAppsList::_r37() {}
81void BRecentAppsList::_r38() {}
82void BRecentAppsList::_r39() {}
83void BRecentAppsList::_r310() {}
84
85void BFilePanel::_ReservedFilePanel1() {}
86void BFilePanel::_ReservedFilePanel2() {}
87void BFilePanel::_ReservedFilePanel3() {}
88void BFilePanel::_ReservedFilePanel4() {}
89void BFilePanel::_ReservedFilePanel5() {}
90void BFilePanel::_ReservedFilePanel6() {}
91void BFilePanel::_ReservedFilePanel7() {}
92void BFilePanel::_ReservedFilePanel8() {}
93
94// deprecated cruft
95
96#if __GNUC__ && __GNUC__ < 3 || __MWERKS__
97extern "C" {
98
99_EXPORT BFilePanel*
100#if __GNUC__
101__10BFilePanel15file_panel_modeP10BMessengerP9entry_refUlbP8BMessageP10BRefFilterT5T5
102#elif __MWERKS__
103__ct__10BFilePanelF15file_panel_modeP10BMessengerP9entry_refUlbP8BMessageP10BRefFilterbb
104#endif
105(void* self,
106	file_panel_mode mode, BMessenger* target,
107	entry_ref* ref, uint32 nodeFlavors, bool multipleSelection,
108	BMessage* message, BRefFilter* filter, bool modal,
109	bool hideWhenDone)
110{
111	return new (self) BFilePanel(mode, target, ref, nodeFlavors,
112								 multipleSelection, message, filter, modal,
113								 hideWhenDone);
114}
115
116_EXPORT void
117#if __GNUC__
118SetPanelDirectory__10BFilePanelP10BDirectory
119#elif __MWERKS__
120SetPanelDirectory__10BFilePanelFP10BDirectory
121#endif
122(BFilePanel* self, BDirectory* d)
123{
124	self->SetPanelDirectory(d);
125}
126
127_EXPORT void
128#if __GNUC__
129SetPanelDirectory__10BFilePanelP6BEntry
130#elif __MWERKS__
131SetPanelDirectory__10BFilePanelFP6BEntry
132#endif
133(BFilePanel* self, BEntry* e)
134{
135	self->SetPanelDirectory(e);
136}
137
138_EXPORT void
139#if __GNUC__
140SetPanelDirectory__10BFilePanelP9entry_ref
141#elif __MWERKS__
142SetPanelDirectory__10BFilePanelFP9entry_ref
143#endif
144(BFilePanel* self, entry_ref* r)
145{
146	self->SetPanelDirectory(r);
147}
148
149}
150#endif
151