2016-08-16 20:04:38 +02:00
|
|
|
package me.impy.aegis;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
2016-10-25 23:53:33 +02:00
|
|
|
import java.security.Key;
|
2016-08-16 20:04:38 +02:00
|
|
|
|
|
|
|
import me.impy.aegis.crypto.KeyInfo;
|
|
|
|
|
|
|
|
public class KeyProfile implements Serializable {
|
|
|
|
public String Name;
|
|
|
|
public String Icon;
|
|
|
|
public String Code;
|
2016-08-22 19:31:03 +02:00
|
|
|
public KeyInfo Info;
|
2016-10-25 23:53:33 +02:00
|
|
|
public int Order;
|
2016-08-22 19:31:03 +02:00
|
|
|
public int ID;
|
2016-10-25 23:53:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
public int compareTo(KeyProfile another) {
|
|
|
|
if (this.Order>another.Order){
|
|
|
|
return -1;
|
|
|
|
}else{
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
2016-08-16 20:04:38 +02:00
|
|
|
}
|