X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcachebase.h;h=e87916429b58a401657fa966ee0c257a8ffd4b32;hb=5d8a7826b0f80f00622e46baf75453995a76e343;hp=a548891abede571876ac2e51efd0d36d474b2180;hpb=d17640d4122d028eee849d9fedf8ba35f7f0f6e0;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cachebase.h b/cinelerra-5.1/cinelerra/cachebase.h index a548891a..e8791642 100644 --- a/cinelerra-5.1/cinelerra/cachebase.h +++ b/cinelerra-5.1/cinelerra/cachebase.h @@ -73,7 +73,9 @@ public: // Delete item. void del_item(CacheItemBase *item); int delete_item(CacheItemBase *item); -// Remove all items with the asset id. +// Remove all items with the same source_id or matching path if set + void remove_item(int source_id, char *path); + void remove_item(Indexable *idxbl); void remove_asset(Asset *asset); // Called when done with the item returned by get_. // Ignore if item was 0.