9cdba41add
Implement the todo in Open Target Folder to select the result by sending Tracker a message with the refs to select. Add a new kSelect message constant to tracker_private.h to hook into. Tracker reads in the message and finds the window that the refs are located in, activates it, then selects the corresponding poses scrolling the pose view if necessary. Bump version of Open Target Folder to 1.0.2
78 lines
2.8 KiB
C++
78 lines
2.8 KiB
C++
/*
|
|
Open Tracker License
|
|
|
|
Terms and Conditions
|
|
|
|
Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
the Software without restriction, including without limitation the rights to
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice applies to all licensees
|
|
and shall be included in all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
|
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
Except as contained in this notice, the name of Be Incorporated shall not be
|
|
used in advertising or otherwise to promote the sale, use or other dealings in
|
|
this Software without prior written authorization from Be Incorporated.
|
|
|
|
Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
|
|
of Be Incorporated in the United States and other countries. Other brand product
|
|
names are registered trademarks or trademarks of their respective holders.
|
|
All rights reserved.
|
|
*/
|
|
|
|
#ifndef _TRACKER_PRIVATE_H
|
|
#define _TRACKER_PRIVATE_H
|
|
|
|
#include <BeBuild.h>
|
|
|
|
#define kTrackerSignature "application/x-vnd.Be-TRAK"
|
|
#define kTrackerSuites "suite/x-vnd.Be-TRAK"
|
|
#define kDeskbarSignature "application/x-vnd.Be-TSKB"
|
|
|
|
namespace BPrivate {
|
|
|
|
#ifdef _IMPEXP_TRACKER
|
|
_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
|
|
|
|
const uint32 kSelect = 'Tsel';
|
|
// Used by Open Target Folder tracker add-on to select files
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif /* _TRACKER_PRIVATE_H */
|