Interface

IdeCodeIndexer

Description

interface Ide.CodeIndexer : Ide.Object
No description available.

Prerequisite

In order to implement CodeIndexer, your type must inherit fromIdeObject.

Instance methods

ide_code_indexer_generate_key_async

This function will get key of reference located at IdeSoureLocation.

ide_code_indexer_generate_key_finish

Returns key for declaration of reference at a location.

ide_code_indexer_index_file_async

This function will take index source file and create an array of symbols in file. callback is called upon completion and must call ide_code_indexer_index_file_finish() to complete the operation.

ide_code_indexer_index_file_finish

Completes an asynchronous request to ide_code_indexer_index_file_async().

Interface structure

struct IdeCodeIndexerInterface {
  GTypeInterface parent_iface;
  void (* generate_key_async) (
    IdeCodeIndexer* self,
    IdeLocation* location,
    const gchar* const* build_flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  gchar* (* generate_key_finish) (
    IdeCodeIndexer* self,
    GAsyncResult* result,
    GError** error
  );
  void (* index_file_async) (
    IdeCodeIndexer* self,
    GFile* file,
    const gchar* const* build_flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  );
  IdeCodeIndexEntries* (* index_file_finish) (
    IdeCodeIndexer* self,
    GAsyncResult* result,
    GError** error
  );
  
}
No description available.
Interface members
parent_iface
GTypeInterface
 No description available.
generate_key_async
void (* generate_key_async) (
    IdeCodeIndexer* self,
    IdeLocation* location,
    const gchar* const* build_flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
generate_key_finish
gchar* (* generate_key_finish) (
    IdeCodeIndexer* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
index_file_async
void (* index_file_async) (
    IdeCodeIndexer* self,
    GFile* file,
    const gchar* const* build_flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
index_file_finish
IdeCodeIndexEntries* (* index_file_finish) (
    IdeCodeIndexer* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.

Virtual methods

Ide.CodeIndexer.generate_key_async

This function will get key of reference located at IdeSoureLocation.

Ide.CodeIndexer.generate_key_finish

Returns key for declaration of reference at a location.

Ide.CodeIndexer.index_file_async

This function will take index source file and create an array of symbols in file. callback is called upon completion and must call ide_code_indexer_index_file_finish() to complete the operation.

Ide.CodeIndexer.index_file_finish

Completes an asynchronous request to ide_code_indexer_index_file_async().