Attribute VB_Name = "modDeclares"
'-----------------------------------------------------
' MirageBot Declares Module
' Written by Christopher Nevin (lancergli@gmail.com)
'-----------------------------------------------------

Option Explicit

'Cache
Public AppVersion As String, AppBuild As String
Public SuccessfulLoad As Boolean, ShuttingDown As Boolean, Base64 As New clsBase64
Public AppData As String, ShareQ As clsShareQueue, Alias As clsAliases, Tags As clsTags
Public ChatFont As String, ListFont As String, SendFont As String, TickLaunch As Double
Public ChatFontSize As Byte, ListFontSize As Byte, SendFontSize As Byte
Public ErrorCount As Double, IsModal As Boolean, ConfigShown As Boolean, InTray As Boolean
Public options As New clsOptions, Specs As SYSTEMSPECS

Public Type POINTAPI
    X As Long
    y As Long
End Type

Public Type LVHITTESTINFO
    Pt As POINTAPI
    Flags As Long
    iItem As Long
    iSubItem As Long
End Type

Public Type SYSTEMSPECS
    Region As Long
    LocalIP As Long
    TZBias As Long
    LCID As Long
    LangID As Long
    CtryAbbr As String
    Ctry As String
End Type

Public Enum CLANRANKENUM
    crInitiate = 0
    crPeon = 1
    crGrunt = 2
    crShaman = 3
    crChieftain = 4
End Enum

Public Enum CDKEYSTATUSENUM
    CDKEY_UNKNOWN = 0
    CDKEY_VALID = 1
    CDKEY_INVALID = 2
    CDKEY_BANNED = 3
    CDKEY_USED = 4
    CDKEY_MUTED = 5
    CDKEY_JAILED = 6
End Enum
