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