Subversion Repositories Projects

Rev

Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 77
Line 14... Line 14...
14
    public int major=-1;
14
    public int major=-1;
15
    public int minor=-1;
15
    public int minor=-1;
16
    public int compatible=-1;
16
    public int compatible=-1;
17
    public String str="--";
17
    public String str="--";
Line 18... Line 18...
18
   
18
   
-
 
19
 
-
 
20
    // version known?
-
 
21
    public boolean known=false;
19
   
22
 
20
    public final byte VERSION_AFTER=0;
23
    public final byte VERSION_AFTER=0;
21
    public final byte VERSION_EQUAL=1;
24
    public final byte VERSION_EQUAL=1;
Line 26... Line 29...
26
    {
29
    {
27
        major=data[0];
30
        major=data[0];
28
        minor=data[1];
31
        minor=data[1];
29
        compatible=data[2];
32
        compatible=data[2];
30
        str="v"+major+"."+minor+"/"+compatible;
33
        str="v"+major+"."+minor+"/"+compatible;
-
 
34
        known=true;
31
    }
35
    }
Line 32... Line 36...
32
   
36
   
33
    public byte compare(int major_c,int minor_c)
37
    public byte compare(int major_c,int minor_c)
34
    {
38
    {