/[RomCheater]/trunk/RomCheater.PluginFramework/Events/IAcceptPEData.cs
ViewVC logotype

Contents of /trunk/RomCheater.PluginFramework/Events/IAcceptPEData.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 679 - (show annotations) (download)
Mon Jun 17 07:31:15 2013 UTC (7 years, 9 months ago) by william
File size: 1179 byte(s)
+ move some data into pluginframework

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using RomCheater.PluginFramework.Interfaces;
6
7 namespace RomCheater.PluginFramework.Events
8 {
9 #region PEViewerDataUpdatedEvent
10 public interface IAcceptPEData
11 {
12 void SetPEViewerData(IPEDData peData);
13 }
14 public interface IAcceptsPEData
15 {
16 event BaseEventHandler<PEViewerDataUpdatedEventArgs> OnPEDataUpdated;
17 }
18 public interface IPEViewerDataUpdatedEvent
19 {
20 IPEDData peData { get; }
21 }
22 public class PEViewerDataUpdatedEventArgs : BaseEventArgs, IPEViewerDataUpdatedEvent
23 {
24 public PEViewerDataUpdatedEventArgs() : this(PEData.Empty) { }
25 public PEViewerDataUpdatedEventArgs(object sender) : this(sender, PEData.Empty) { }
26 public PEViewerDataUpdatedEventArgs(IPEDData peData) : base() { this.peData = peData; }
27 public PEViewerDataUpdatedEventArgs(object sender, IPEDData peData) : base(sender) { this.peData = peData; }
28 #region IPEViewerDataUpdatedEvent members
29 public IPEDData peData { get; private set; }
30 #endregion
31 }
32 #endregion
33 }

  ViewVC Help
Powered by ViewVC 1.1.22