| Top |
IdeCodeIndexEntry *
ide_code_index_entries_get_next_entry (IdeCodeIndexEntries *self);
This will fetch next entry in index.
When all of the entries have been exhausted, NULL should be returned.
Since: 3.26
GFile *
ide_code_index_entries_get_file (IdeCodeIndexEntries *self);
The file that was indexed.
void ide_code_index_entries_next_entries_async (IdeCodeIndexEntries *self,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Requests the next set of results from the code index asynchronously. This allows implementations to possibly process data off the main thread without blocking the main loop.
self |
||
cancellable |
a GCancellable or |
[nullable] |
callback |
a callback to execute upon completion |
|
user_data |
user data for |
Since: 3.30
GPtrArray * ide_code_index_entries_next_entries_finish (IdeCodeIndexEntries *self,GAsyncResult *result,GError **error);
Completes an asynchronous request for the next set of entries from the index.
Since: 3.30
struct IdeCodeIndexEntriesInterface {
GTypeInterface parent_iface;
GFile *(*get_file) (IdeCodeIndexEntries *self);
IdeCodeIndexEntry *(*get_next_entry) (IdeCodeIndexEntries *self);
void (*next_entries_async) (IdeCodeIndexEntries *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GPtrArray *(*next_entries_finish) (IdeCodeIndexEntries *self,
GAsyncResult *result,
GError **error);
};