]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/command.h
- Se arregla un semi-bug en el transmitter.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / command.h
index fafa951771fad114699cb73b4f0fce2dfe59a92c..cd49d43dbe3fbf2e28d7181e2697ea4e97baa1ba 100644 (file)
@@ -80,8 +80,8 @@ namespace Server {
                        /**
                         * Constructor.
                         */
-                       Command(const std::string& target = "",
-                                       const std::string& command = "");
+                       Command(const std::string& _target = "",
+                                       const std::string& _command = "");
 
                        /**
                         * Establece el destino.
@@ -114,10 +114,15 @@ namespace Server {
                        const Arguments& get_args(void) const;
 
                        /**
-                        * Agrega un argumentos.
+                        * Agrega un argumento.
                         */
                        void add_arg(const std::string& arg);
 
+                       /**
+                        * Agrega un argumento.
+                        */
+                       void add_arg(const unsigned& arg);
+
                        /**
                         * Obtiene el comando desde un pedido HTTP completo.
                         */