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