haiku/headers/os/add-ons/tracker/TrackerAddOn.h
Hrishi Hiraskar bc8427c522 Tracker: Allow add-ons to dynamically extend popup menu.
An add-on may now add custom entries to the popup menu, in order
to provide more than one action.

Change-Id: Ib4726c0c1e70c59e3ba4d752df24b76cfee1c4a4
2018-07-19 14:00:48 +00:00

20 lines
431 B
C++

/*
* Copyright (c) 2007, Haiku, Inc.
* Distributed under the terms of the MIT license.
*/
#ifndef _TRACKER_ADDON_H
#define _TRACKER_ADDON_H
struct entry_ref;
class BMessage;
class BMenu;
class BHandler;
extern "C" {
void process_refs(entry_ref directory, BMessage* refs, void* reserved);
void populate_menu(BMessage* msg, BMenu* menu, BHandler* handler);
void message_received(BMessage* msg);
}
#endif // _TRACKER_ADDON_H