Changeset 308


Ignore:
Timestamp:
May 14, 2009, 8:59:34 PM (13 years ago)
Author:
Thomas Schmid
Message:
  • ControllerProperties can now send events to connected plugins even if chain is not in play mode
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/FileInput/FileInput.cs

    r151 r308  
    237237      fileInputPresentation.UscHexBoc.OnExceptionOccured += UscHexBoc_OnExceptionOccured;
    238238      fileInputPresentation.UscHexBoc.OnInformationOccured += UscHexBoc_OnInformationOccured;
     239      settings.FI = this;
    239240    }
    240241
     
    397398    }
    398399
     400    [ControllerProperty(Direction.Input, "Controller Input", "", DisplayLevel.Beginner)]
     401    public object ControllerInput
     402    {
     403      get { return controllerInput; }
     404      set { controllerInput = value; }
     405    }
     406    private object controllerInput;
     407    private object controllerOutput;
     408
     409    [ControllerProperty(Direction.Output, "Controller Output", "", DisplayLevel.Beginner)]
     410    public object ControllerOutput
     411    {
     412      get { return controllerOutput; }
     413      set { controllerOutput = value; }
     414    }
     415    public void doit()
     416    {
     417      OnPropertyChanged("ControllerOutput");
     418    }
    399419    #endregion
    400420  }
  • trunk/CrypPlugins/FileInput/FileInputSettings.cs

    r293 r308  
    259259    {
    260260      OpenFilename = null;
    261     }
     261      FI.doit();
     262    }
     263
     264    public FileInput.FileInputClass FI;
    262265
    263266    #region INotifyPropertyChanged Members
Note: See TracChangeset for help on using the changeset viewer.