needed by DefaultManager, could be avoided but i think it's ok for now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5393 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,6 +36,9 @@ public:
|
|||||||
// For use by media_addon_server only
|
// For use by media_addon_server only
|
||||||
media_addon_id RegisterAddon(const char *path);
|
media_addon_id RegisterAddon(const char *path);
|
||||||
void UnregisterAddon(media_addon_id id);
|
void UnregisterAddon(media_addon_id id);
|
||||||
|
|
||||||
|
// query the server for the path
|
||||||
|
status_t FindAddonPath(BPath *path, media_addon_id id);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct loaded_addon_info
|
struct loaded_addon_info
|
||||||
@@ -51,9 +54,6 @@ private:
|
|||||||
// manage loading and unloading add-ons from images
|
// manage loading and unloading add-ons from images
|
||||||
status_t LoadAddon(BMediaAddOn **newaddon, image_id *newimage, const char *path, media_addon_id id);
|
status_t LoadAddon(BMediaAddOn **newaddon, image_id *newimage, const char *path, media_addon_id id);
|
||||||
void UnloadAddon(BMediaAddOn *addon, image_id image);
|
void UnloadAddon(BMediaAddOn *addon, image_id image);
|
||||||
|
|
||||||
// query the server for the path
|
|
||||||
status_t FindAddonPath(BPath *path, media_addon_id id);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user