Top | ![]() |
![]() |
![]() |
![]() |
AnjutaAsyncNotifyAnjutaAsyncNotify — Mechanism used by interfaces that run asynchronously to notify clients of finished tasks and to report errors. |
AnjutaAsyncNotify * | anjuta_async_notify_new () |
void | anjuta_async_notify_get_error () |
void | anjuta_async_notify_notify_finished () |
void | anjuta_async_notify_set_error () |
AnjutaAsyncNotify is a way to allow Anjuta interfaces that run asynchronously, such as IAnjutaVCS, to notify clients that a method has completed. AnjutaAsyncNotify also reports errors to the user.
All clients need to do is create an instance of AnjutaAsyncNotify, connect to the finished signal, and pass it in to the interface method to be called.
AnjutaAsyncNotify *
anjuta_async_notify_new (void
);
Creates a new AnjutaAsyncNotify object.
void anjuta_async_notify_get_error (AnjutaAsyncNotify *self
,GError **error
);
Gets the error set on self
.
void
anjuta_async_notify_notify_finished (AnjutaAsyncNotify *self
);
Emits the finished signal. This method should only be used by interface methods themselves, not by clients.