Method

IdeSearchEngineadd_provider

Declaration

void
ide_search_engine_add_provider (
  IdeSearchEngine* self,
  IdeSearchProvider* provider
)

Description

Adds a custom search provider to the IdeSearchEngine. This enables to bring in custom IdeSearchProvider during the runtime.

Parameters

provider

Type: IdeSearchProvider

A IdeSearchProvider.

The data is owned by the caller of the method.