Commit fedf3925 authored by Antenore Gatta's avatar Antenore Gatta

Updated Doxygen config and comments

parent b09c0c01
This diff is collapsed.
......@@ -1250,7 +1250,7 @@ static gboolean remmina_rdp_get_screenshot(RemminaProtocolWidget *gp, RemminaPlu
bytesPerPixel = GetBytesPerPixel(gdi->hdc->format);
bitsPerPixel = GetBitsPerPixel(gdi->hdc->format);
/* ToDo: we should lock freerdp subthread to update rfi->primary_buffer, rfi->gdi and w/h,
/** @todo we should lock freerdp subthread to update rfi->primary_buffer, rfi->gdi and w/h,
* from here to memcpy, but... how ? */
szmem = gdi->width * gdi->height * bytesPerPixel;
......
......@@ -942,7 +942,7 @@ N_("Couldn't convert '%s' to host address")
N_("VNC connection failed: %s")
N_("Your connection has been rejected.")
#endif
/* TODO: We only store the last message at this moment. */
/** @todo We only store the last message at this moment. */
#define MAX_ERROR_LENGTH 1000
static gchar vnc_error[MAX_ERROR_LENGTH + 1];
static gboolean vnc_encryption_disable_requested;
......
......@@ -227,7 +227,7 @@ void remmina_avahi_start(RemminaAvahi* ga)
return;
}
/* TODO: Customize the default domain here */
/** @todo Customize the default domain here */
ga->priv->sb = avahi_service_browser_new(ga->priv->client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "_rfb._tcp", NULL, 0,
remmina_avahi_browse_callback, ga);
if (!ga->priv->sb) {
......
......@@ -934,7 +934,7 @@ static void remmina_connection_holder_toolbar_autofit(GtkWidget* widget, Remmina
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(cnnobj->scrolled_container), GTK_POLICY_NEVER,
GTK_POLICY_NEVER);
/* ToDo: save returned source id in priv->something and then delete when main object is destroyed */
/** @todo save returned source id in priv->something and then delete when main object is destroyed */
g_timeout_add(200, (GSourceFunc)remmina_connection_holder_toolbar_autofit_restore, cnnhld);
}
......@@ -1805,7 +1805,7 @@ static void remmina_connection_holder_toolbar_screenshot(GtkWidget* widget, Remm
remminafile = remmina_file_get_filename(cnnobj->remmina_file);
//imagedir = g_get_user_special_dir(G_USER_DIRECTORY_PICTURES);
/* TODO: Improve file name (DONE:8743571d) + give the user the option */
/** @todo Improve file name (DONE:8743571d) + give the user the option */
pngdate = g_strdup_printf("%d-%d-%d-%d:%d:%f",
g_date_time_get_year(date),
g_date_time_get_month(date),
......@@ -3394,7 +3394,7 @@ static gboolean remmina_connection_window_hostkey_func(RemminaProtocolWidget* gp
return FALSE;
}
}else if (remmina_pref.hostkey && keyval == remmina_pref.hostkey) {
/* TODO: Add callback for hostname transparent overlay #832 */
/** @todo Add callback for hostname transparent overlay #832 */
cnnhld->hostkey_activated = TRUE;
cnnhld->hostkey_used = FALSE;
return TRUE;
......
......@@ -1211,7 +1211,7 @@ static void remmina_file_editor_on_connect(GtkWidget* button, RemminaFileEditor*
static void remmina_file_editor_on_save_connect(GtkWidget* button, RemminaFileEditor* gfe)
{
TRACE_CALL(__func__);
/* TODO: Call remmina_file_editor_on_save */
/** @todo Call remmina_file_editor_on_save */
RemminaFile* gf;
remmina_file_editor_update(gfe);
......
......@@ -80,7 +80,7 @@ gchar *remmina_file_get_datadir(void)
return remminadir;
}
/* TODO: remmina_pref_file_do_copy and remmina_file_manager_do_copy to remmina_files_copy */
/** @todo remmina_pref_file_do_copy and remmina_file_manager_do_copy to remmina_files_copy */
static gboolean remmina_file_manager_do_copy(const char *src_path, const char *dst_path)
{
GFile *src = g_file_new_for_path(src_path), *dst = g_file_new_for_path(dst_path);
......
......@@ -1067,7 +1067,7 @@ static void remmina_main_init(void)
gtk_tree_selection_set_select_function(
gtk_tree_view_get_selection(remminamain->tree_files_list),
remmina_main_selection_func, NULL, NULL);
/* TODO: Set entry_quick_connect_server as default search entry. Weirdly. This does not work yet. */
/** @todo Set entry_quick_connect_server as default search entry. Weirdly. This does not work yet. */
gtk_tree_view_set_search_entry(remminamain->tree_files_list, GTK_ENTRY(remminamain->entry_quick_connect_server));
/* Load the files list */
remmina_main_load_files();
......
......@@ -291,7 +291,7 @@ void remmina_plugin_manager_for_each_plugin(RemminaPluginType type, RemminaPlugi
/* A copy of remmina_plugin_manager_show and remmina_plugin_manager_show_for_each
* This is because we want to print the list of plugins, and their versions, to the standard output
* with the remmina command line option --full-version instead of using the plugins widget
* TODO: Investigate to use only GListStore and than pass the elements to be shown to 2 separate
** @todo Investigate to use only GListStore and than pass the elements to be shown to 2 separate
* functions
* WARNING: GListStore is supported only from GLib 2.44 */
static gboolean remmina_plugin_manager_show_for_each_stdout(RemminaPlugin *plugin)
......
......@@ -165,7 +165,7 @@ static void remmina_pref_init_keymap(void)
g_key_file_free(gkeyfile);
}
/* TODO: remmina_pref_file_do_copy and remmina_file_manager_do_copy to remmina_files_copy */
/** @todo remmina_pref_file_do_copy and remmina_file_manager_do_copy to remmina_files_copy */
static gboolean remmina_pref_file_do_copy(const char *src_path, const char *dst_path)
{
GFile *src = g_file_new_for_path(src_path), *dst = g_file_new_for_path(dst_path);
......
......@@ -610,7 +610,7 @@ static gboolean remmina_protocol_widget_init_tunnel(RemminaProtocolWidget* gp)
#endif
/**
* @brief
* Start an SSH tunnel if possible and return the host:port string.
*
*/
gchar* remmina_protocol_widget_start_direct_tunnel(RemminaProtocolWidget* gp, gint default_port, gboolean port_plus)
......@@ -1268,7 +1268,7 @@ void remmina_protocol_widget_update_remote_resolution(RemminaProtocolWidget* gp,
TRACE_CALL(__func__);
GdkDisplay *display;
#if GTK_CHECK_VERSION(3, 20, 0)
/* TODO: rename to "seat" */
/** @todo rename to "seat" */
GdkSeat *seat;
GdkDevice *device;
#else
......
......@@ -318,7 +318,7 @@ remmina_ssh_auth(RemminaSSH *ssh, const gchar *password)
ssh->passphrase = g_strdup(password);
}
/* TODO: Here we should call
/** @todo Here we should call
* gint method;
* method = ssh_userauth_list(ssh->session, NULL);
* And than test both the method and the option selected by the user
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment