From 9c0c758e9af50f624414decbaae43c04e8d8e3f9 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 24 Nov 2003 20:07:04 +0000 Subject: [PATCH] Fixes de documentacion. --- Server/include/plaqui/server/controlclient.h | 2 +- Server/include/plaqui/server/runnable.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Server/include/plaqui/server/controlclient.h b/Server/include/plaqui/server/controlclient.h index 47926c2..8de78d7 100644 --- a/Server/include/plaqui/server/controlclient.h +++ b/Server/include/plaqui/server/controlclient.h @@ -46,7 +46,7 @@ namespace Server { public: ///////////////////////////////////////////////////////////////////// - /// \name Señales. + /// \name Señales //@{ public: diff --git a/Server/include/plaqui/server/runnable.h b/Server/include/plaqui/server/runnable.h index b1d169d..97b3785 100644 --- a/Server/include/plaqui/server/runnable.h +++ b/Server/include/plaqui/server/runnable.h @@ -71,6 +71,7 @@ namespace Server { * signal_finished(). El caso típico sería: * \code * #include "runnable.h" + * #include * #include * * // Mi objeto que realiza la tarea. @@ -89,6 +90,8 @@ namespace Server { * // Programa principal. * int main(void) { * runner = new MiRunnable(); + * // Conecta la señal finished para saber cuando terminó. + * runner->signal_finished().connect(SigC::slot(on_finished)); * runner->run(); // Corre en un hilo propio * // Espera a que termine la tarea. * while (runner) { @@ -114,7 +117,7 @@ namespace Server { typedef unsigned Error; ///////////////////////////////////////////////////////////////////// - /// \name Señales. + /// \name Señales //@{ public: -- 2.43.0