[rkward-cvs] SF.net SVN: rkward:[3540] trunk/rkward/rkward/rbackend

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon May 9 06:43:53 UTC 2011


Revision: 3540
          http://rkward.svn.sourceforge.net/rkward/?rev=3540&view=rev
Author:   tfry
Date:     2011-05-09 06:43:53 +0000 (Mon, 09 May 2011)

Log Message:
-----------
Remove unused command type.

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rcommand.h
    trunk/rkward/rkward/rbackend/rcommandstack.cpp

Modified: trunk/rkward/rkward/rbackend/rcommand.h
===================================================================
--- trunk/rkward/rkward/rbackend/rcommand.h	2011-05-08 10:44:23 UTC (rev 3539)
+++ trunk/rkward/rkward/rbackend/rcommand.h	2011-05-09 06:43:53 UTC (rev 3540)
@@ -136,7 +136,6 @@
 	enum CommandTypes {
 		User=1,		/**< Command was created directly by the user (e.g. in the console or in a command editor window) */
 		Plugin=2,		/**< Command comes from a plugin */
-		PluginCom=4,	/**< Command comes from a plugin, and is used by the plugin to communicate directly with R (no real use so far) */
 		App=8,			/**< Command comes from the application (e.g. loading / saving the workspace */
 		Sync=16,		/**< Command is used to sync data to or from R-space. Typically used in the editor classes */
 		EmptyCommand=32,		/**< Command is empty and will not be processed (an empty command may be used as a "marker") */

Modified: trunk/rkward/rkward/rbackend/rcommandstack.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rcommandstack.cpp	2011-05-08 10:44:23 UTC (rev 3539)
+++ trunk/rkward/rkward/rbackend/rcommandstack.cpp	2011-05-09 06:43:53 UTC (rev 3540)
@@ -340,11 +340,10 @@
 			QString ret;
 			if (command->type () & RCommand::User) ret += 'U';
 			if (command->type () & RCommand::Plugin) ret += 'P';
-			if (command->type () & RCommand::PluginCom) ret += 'C';
 			if (command->type () & RCommand::App) ret += 'A';
 			if (command->type () & RCommand::Sync) ret += 'S';
 			if (command->type () & RCommand::EmptyCommand) ret += 'E';
-			if (command->type () & (RCommand::GetIntVector | RCommand::GetRealVector | RCommand::GetStringVector)) ret += 'D';
+			if (command->type () & (RCommand::GetIntVector | RCommand::GetRealVector | RCommand::GetStringVector | RCommand::GetStructuredData)) ret += 'D';
 			if (command->type () & RCommand::DirectToOutput) ret += 'O';
 			return (ret);
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list