Tracker, Deskbar, ShowImage: move public commands

... to tracker_private.h so they may be used by external apps
such as Deskbar and ShowImage. Remove PublicCommands.h
This commit is contained in:
John Scipione
2015-03-03 18:47:05 -05:00
parent 2634c39731
commit 039f59262a
7 changed files with 32 additions and 81 deletions
+22 -1
View File
@@ -48,6 +48,27 @@ _IMPEXP_TRACKER
#endif
void InitIconPreloader();
}
// commands that may be issued to the tracker by other apps using messengers
const uint32 kFindButton = 'Tfnd';
const uint32 kSaveButton = 'Tsav';
const uint32 kShowSplash = 'Spls';
const uint32 kStartWatchClipboardRefs = 'TCbw';
// StartWatching() clipboard changes. Changes will be sent to given
// BMessenger "target"
const uint32 kStopWatchClipboardRefs = 'TCfw';
// StopWatching() given BMessenger "target"
const uint32 kFSClipboardChanges = 'TCch';
// Used by FSClipboard functions which change refs in clipboard and are
// used outside Tracker (like BFilePanel called in another app)
// Contains movemodes named as in FSClipboard operations and in Clipboard
// (look into FSClipboard files)
const uint32 kMoveToTrash = 'Ttrs';
// Used by ShowImage to delete images
} // namespace BPrivate
#endif /* _TRACKER_PRIVATE_H */