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 #ifndef _COMMANDS_H 36 #define _COMMANDS_H 37 38 #include "PublicCommands.h" 39 40 namespace BPrivate { 41 42 // external app messages 43 44 const uint32 kGetInfo = 'Tinf'; 45 const uint32 kMoveToTrash = 'Ttrs'; 46 const uint32 kDelete = 'Tdel'; 47 const uint32 kRestoreFromTrash = 'Tres'; 48 const uint32 kIdentifyEntry = 'Tidt'; 49 const uint32 kOpenSelection = 'Tosl'; 50 const uint32 kOpenSelectionWith = 'Tosu'; 51 const uint32 kCloseAllWindows = 'Tall'; 52 const uint32 kCloseWindowAndChildren = 'Tcwc'; 53 54 // end external app messages 55 56 const uint32 kRestoreState = 'Trst'; 57 58 const uint32 kCutMoreSelectionToClipboard = 'Tmvm'; 59 const uint32 kCopyMoreSelectionToClipboard = 'Tcpm'; 60 const uint32 kPasteLinksFromClipboard = 'Tplc'; 61 const uint32 kCancelSelectionToClipboard = 'Tesc'; 62 const uint32 kClipboardPosesChanged = 'Tcpc'; 63 64 const uint32 kEditItem = 'Tedt'; 65 const uint32 kEditQuery = 'Qedt'; 66 const uint32 kNewFolder = 'Tnwf'; 67 const uint32 kNewEntryFromTemplate = 'Tnwe'; 68 const uint32 kCopySelectionTo = 'Tcsl'; 69 const uint32 kMoveSelectionTo = 'Tmsl'; 70 const uint32 kCreateLink = 'Tlnk'; 71 const uint32 kCreateRelativeLink = 'Trln'; 72 const uint32 kDuplicateSelection = 'Tdsl'; 73 const uint32 kLoadAddOn = 'Tlda'; 74 const uint32 kEmptyTrash = 'Tetr'; 75 const uint32 kAddPrinter = 'Tadp'; 76 const uint32 kMakeActivePrinter = 'Tmap'; 77 78 const uint32 kUnmountVolume = 'Tunm'; 79 const uint32 kRunAutomounterSettings = 'Tram'; 80 81 const uint32 kOpenParentDir = 'Topt'; 82 const uint32 kOpenDir = 'Topd'; 83 const uint32 kCleanup = 'Tcln'; 84 const uint32 kCleanupAll = 'Tcla'; 85 const uint32 kResizeToFit = 'Trtf'; 86 const uint32 kSelectMatchingEntries = 'Tsme'; 87 const uint32 kShowSelectionWindow = 'Tssw'; 88 const uint32 kShowSettingsWindow = 'Tstw'; 89 const uint32 kInvertSelection = 'Tisl'; 90 91 const uint32 kCancelButton = 'Tcnl'; 92 const uint32 kDefaultButton = 'Tact'; 93 const uint32 kPauseButton = 'Tpaw'; 94 const uint32 kStopButton = 'Tstp'; 95 const uint32 kCopyAttributes = 'Tcat'; 96 const uint32 kPasteAttributes = 'Tpat'; 97 const uint32 kAttributeItem = 'Tatr'; 98 const uint32 kMIMETypeItem = 'Tmim'; 99 const uint32 kAddCurrentDir = 'Tadd'; 100 const uint32 kSwitchDirectory = 'Tswd'; 101 const uint32 kQuitTracker = 'Tqit'; 102 103 const uint32 kContextMenuDragNDrop = '_dnd'; 104 105 const uint32 kSwitchToHome = 'Tswh'; 106 107 const uint32 kTestIconCache = 'TicC'; 108 109 // Observers and Notifiers: 110 111 // Settings-changed messages: 112 const uint32 kDisksIconChanged = 'Dicn'; 113 const uint32 kDesktopIntegrationChanged = 'Dint'; 114 const uint32 kShowDisksIconChanged = 'Sdic'; 115 const uint32 kVolumesOnDesktopChanged = 'Codc'; 116 const uint32 kEjectWhenUnmountingChanged = 'Ewum'; 117 118 const uint32 kWindowsShowFullPathChanged = 'Wsfp'; 119 const uint32 kSingleWindowBrowseChanged = 'Osmw'; 120 const uint32 kShowNavigatorChanged = 'Snvc'; 121 const uint32 kShowSelectionWhenInactiveChanged = 'Sswi'; 122 const uint32 kTransparentSelectionChanged = 'Trse'; 123 const uint32 kSortFolderNamesFirstChanged = 'Sfnf'; 124 125 const uint32 kDesktopFilePanelRootChanged = 'Dfpr'; 126 const uint32 kFavoriteCountChanged = 'Fvct'; 127 const uint32 kFavoriteCountChangedExternally = 'Fvcx'; 128 129 const uint32 kDateFormatChanged = 'Date'; 130 131 const uint32 kUpdateVolumeSpaceBar = 'UpSB'; 132 const uint32 kShowVolumeSpaceBar = 'ShSB'; 133 const uint32 kSpaceBarColorChanged = 'SBcc'; 134 135 const uint32 kDontMoveFilesToTrashChanged = 'STdm'; 136 const uint32 kAskBeforeDeleteFileChanged = 'STad'; 137 138 } // namespace BPrivate 139 140 using namespace BPrivate; 141 142 #endif 143