[gnome-commander] noop: Added function comments for doxygen



commit a11813d71fe30f4e385243cfbac0f52429cf1c88
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Apr 25 23:45:04 2015 +0200

    noop: Added function comments for doxygen

 src/dialogs/gnome-cmd-con-dialog.cc |    3 +++
 src/gnome-cmd-con-remote.cc         |    4 +++-
 src/gnome-cmd-file-list.h           |    6 ++++++
 3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-con-dialog.cc b/src/dialogs/gnome-cmd-con-dialog.cc
index 985b051..f11b4dd 100644
--- a/src/dialogs/gnome-cmd-con-dialog.cc
+++ b/src/dialogs/gnome-cmd-con-dialog.cc
@@ -529,6 +529,9 @@ static void gnome_cmd_connect_dialog_init (GnomeCmdConnectDialog *dialog)
 }
 
 
+/**
+ * Dialog for setting up a new remote server connection.
+ */
 GnomeCmdConRemote *gnome_cmd_connect_dialog_new (gboolean has_alias)
 {
     GnomeCmdConnectDialog *dialog = (GnomeCmdConnectDialog *) g_object_new (GNOME_CMD_TYPE_CONNECT_DIALOG, 
NULL);
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 49ea4f4..2641198 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -239,7 +239,9 @@ GtkType gnome_cmd_con_remote_get_type ()
     return type;
 }
 
-
+/**
+ * Logic for setting up a new remote connection accordingly to the given uri_str.
+ */
 GnomeCmdConRemote *gnome_cmd_con_remote_new (const gchar *alias, const string &uri_str, 
GnomeCmdCon::Authentication auth)
 {
     gchar *canonical_uri = gnome_vfs_make_uri_canonical (uri_str.c_str());
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index 6526a9e..acf63ef 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -203,6 +203,12 @@ struct GnomeCmdFileList
     void invalidate_tree_size();
 
     void set_base_dir(gchar *dir);
+
+    /**
+     * Establish a connection via gnome_cmd_con_open() if it does not
+     * already exist, or just set the file list to the last or the
+     * current working dir.
+     */
     void set_connection(GnomeCmdCon *con, GnomeCmdDir *start_dir=NULL);
     void set_directory(GnomeCmdDir *dir);
     void goto_directory(const gchar *dir);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]