Interface

IdeCodeIndexEntries

Description

interface Ide.CodeIndexEntries : GObject.Object
No description available.

Prerequisite

In order to implement CodeIndexEntries, your type must inherit fromGObject.

Instance methods

ide_code_index_entries_collect_async

Calls ide_code_index_entries_next_entries_async() repeatedly until all entries have been retrieved. After that, the async operation will complete.

ide_code_index_entries_collect_finish
No description available.

ide_code_index_entries_get_file

The file that was indexed.

ide_code_index_entries_get_next_entry

This will fetch next entry in index.

ide_code_index_entries_next_entries_async

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.

ide_code_index_entries_next_entries_finish

Completes an asynchronous request for the next set of entries from the index.

Interface structure

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
  );
  
}
No description available.
Interface members
parent_iface
GTypeInterface
 No description available.
get_file
GFile* (* get_file) (
    IdeCodeIndexEntries* self
  )
 No description available.
get_next_entry
IdeCodeIndexEntry* (* get_next_entry) (
    IdeCodeIndexEntries* self
  )
 No description available.
next_entries_async
void (* next_entries_async) (
    IdeCodeIndexEntries* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
next_entries_finish
GPtrArray* (* next_entries_finish) (
    IdeCodeIndexEntries* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.

Virtual methods

Ide.CodeIndexEntries.get_file

The file that was indexed.

Ide.CodeIndexEntries.get_next_entry

This will fetch next entry in index.

Ide.CodeIndexEntries.next_entries_async

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.

Ide.CodeIndexEntries.next_entries_finish

Completes an asynchronous request for the next set of entries from the index.