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 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 44 void BRecentItemsList::_r1() {} 45 void BRecentItemsList::_r2() {} 46 void BRecentItemsList::_r3() {} 47 void BRecentItemsList::_r4() {} 48 void BRecentItemsList::_r5() {} 49 void BRecentItemsList::_r6() {} 50 void BRecentItemsList::_r7() {} 51 void BRecentItemsList::_r8() {} 52 void BRecentItemsList::_r9() {} 53 void BRecentItemsList::_r10() {} 54 void BRecentFilesList::_r11() {} 55 void BRecentFilesList::_r12() {} 56 void BRecentFilesList::_r13() {} 57 void BRecentFilesList::_r14() {} 58 void BRecentFilesList::_r15() {} 59 void BRecentFilesList::_r16() {} 60 void BRecentFilesList::_r17() {} 61 void BRecentFilesList::_r18() {} 62 void BRecentFilesList::_r19() {} 63 void BRecentFilesList::_r110() {} 64 void BRecentFoldersList::_r21() {} 65 void BRecentFoldersList::_r22() {} 66 void BRecentFoldersList::_r23() {} 67 void BRecentFoldersList::_r24() {} 68 void BRecentFoldersList::_r25() {} 69 void BRecentFoldersList::_r26() {} 70 void BRecentFoldersList::_r27() {} 71 void BRecentFoldersList::_r28() {} 72 void BRecentFoldersList::_r29() {} 73 void BRecentFoldersList::_r210() {} 74 void BRecentAppsList::_r31() {} 75 void BRecentAppsList::_r32() {} 76 void BRecentAppsList::_r33() {} 77 void BRecentAppsList::_r34() {} 78 void BRecentAppsList::_r35() {} 79 void BRecentAppsList::_r36() {} 80 void BRecentAppsList::_r37() {} 81 void BRecentAppsList::_r38() {} 82 void BRecentAppsList::_r39() {} 83 void BRecentAppsList::_r310() {} 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 // deprecated cruft 95 96 #if __GNUC__ && __GNUC__ < 3 || __MWERKS__ 97 extern "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__ 118 SetPanelDirectory__10BFilePanelP10BDirectory 119 #elif __MWERKS__ 120 SetPanelDirectory__10BFilePanelFP10BDirectory 121 #endif 122 (BFilePanel* self, BDirectory* d) 123 { 124 self->SetPanelDirectory(d); 125 } 126 127 _EXPORT void 128 #if __GNUC__ 129 SetPanelDirectory__10BFilePanelP6BEntry 130 #elif __MWERKS__ 131 SetPanelDirectory__10BFilePanelFP6BEntry 132 #endif 133 (BFilePanel* self, BEntry* e) 134 { 135 self->SetPanelDirectory(e); 136 } 137 138 _EXPORT void 139 #if __GNUC__ 140 SetPanelDirectory__10BFilePanelP9entry_ref 141 #elif __MWERKS__ 142 SetPanelDirectory__10BFilePanelFP9entry_ref 143 #endif 144 (BFilePanel* self, entry_ref* r) 145 { 146 self->SetPanelDirectory(r); 147 } 148 149 } 150 #endif 151