Method

IdeWorkbenchresolve_file_async

Declaration

void
ide_workbench_resolve_file_async (
  IdeWorkbench* self,
  const gchar* filename,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

This function will try to locate a given file based on the filename, possibly resolving it from a build directory, or source directory.

If no file was discovered, some attempt will be made to locate a file that matches appropriately.

Parameters

filename

Type: const gchar*

The filename to discover.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

No description available.

The argument can be NULL.
user_data

Type: gpointer

No description available.

The argument can be NULL.
The data is owned by the caller of the method.