repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed: cleaned up configure, trying to once again recombine AC_MSG_WARN into single...
[deb_libcec.git]
/
src
/
cec-config-gui
/
actions
/
UpdateEvent.cs
diff --git
a/src/cec-config-gui/actions/UpdateEvent.cs
b/src/cec-config-gui/actions/UpdateEvent.cs
index b559764ec6ed10b60f5f5dec9b98dbd03477ff19..4a3e701a9099c91fbaa46fc24128593fa8f14231 100644
(file)
--- a/
src/cec-config-gui/actions/UpdateEvent.cs
+++ b/
src/cec-config-gui/actions/UpdateEvent.cs
@@
-1,6
+1,4
@@
using System;
using System;
-using System.Collections.Generic;
-using System.Text;
using CecSharp;
namespace CecConfigGui
using CecSharp;
namespace CecConfigGui
@@
-17,11
+15,19
@@
namespace CecConfigGui
PhysicalAddress,
HasAVRDevice,
AVRVendorId,
PhysicalAddress,
HasAVRDevice,
AVRVendorId,
- Configuration
+ Configuration,
+ MenuLanguage,
+ PollDevices,
+ ExitApplication
}
public class UpdateEvent : EventArgs
{
}
public class UpdateEvent : EventArgs
{
+ public UpdateEvent(UpdateEventType type)
+ {
+ Type = type;
+ }
+
public UpdateEvent(UpdateEventType type, bool value)
{
Type = type;
public UpdateEvent(UpdateEventType type, bool value)
{
Type = type;
@@
-55,8
+61,11
@@
namespace CecConfigGui
public abstract class UpdateProcess
{
public abstract class UpdateProcess
{
-
public UpdateProcess(
)
+
public void SendEvent(UpdateEventType type
)
{
{
+ EventHandler<UpdateEvent> temp = EventHandler;
+ if (temp != null)
+ temp(this, new UpdateEvent(type));
}
public void SendEvent(UpdateEventType type, bool value)
}
public void SendEvent(UpdateEventType type, bool value)