Interface
IdeCodeIndexer
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_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 |
|
No description available. | |
generate_key_async |
|
No description available. | |
generate_key_finish |
|
No description available. | |
index_file_async |
|
No description available. | |
index_file_finish |
|
No description available. |
Virtual methods
Ide.CodeIndexer.generate_key_async
This function will get key of reference located at IdeSoureLocation
.
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().