Likely unstable.
[FinalKeyGui.git] / src / fkgui / FkActionEventListener.java
1 package fkgui;
2
3 import fkgui.FkManager.Account;
4
5 public interface FkActionEventListener {
6         public class FkActionEvent
7         {
8                 FkActionEventType type;
9                 public String data;
10                 public Account acc;
11                 public char action;
12                 
13                 public FkActionEvent( FkActionEventType t, String d, Account a, char act )
14                 {
15                         data = d;
16                         type = t;
17                         acc=a;
18                         action=act;
19                 }
20         }
21         public enum FkActionEventType { ACTION_ABORTED, ACTION_OKAY, ACTION_ERROR, ACTION_WAITING, ACTION_WORKING };
22         public void fkActionEvent( FkActionEvent event );
23 }