OSDN Git Service

needed to make LoadInterpreter/LoadCommand public so plug-ins can actually use this...
authorDouglas R. Miles <logicmoo@gmail.com>
Tue, 8 Sep 2009 04:04:06 +0000 (04:04 +0000)
committerDouglas R. Miles <logicmoo@gmail.com>
Tue, 8 Sep 2009 04:04:06 +0000 (04:04 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@209 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/Core/Commands/CommandsManager.cs

index 6d7365b..29e0ac8 100644 (file)
@@ -93,13 +93,13 @@ namespace Radegast.Commands
 \r
         }\r
 \r
-        private void LoadInterpreter(ICommandInterpreter interpreter)\r
+        public void LoadInterpreter(ICommandInterpreter interpreter)\r
         {\r
             interpreter.StartInterpreter(instance);\r
             lock (InterpretersLoaded) InterpretersLoaded.Add(interpreter);\r
         }\r
 \r
-        private void LoadCommand(IRadegastCommand command)\r
+        public void LoadCommand(IRadegastCommand command)\r
         {\r
             command.StartCommand(instance);\r
             CommandsByName[command.Name.ToLower()] = command;\r