Imports DigitalData.Modules.Config
Imports DigitalData.Modules.Logging
Imports DigitalData.Modules.Base
Imports DigitalData.Modules.Messaging

Module ModuleCURRENT
    Public Property ERROR_STATE As String
    Public Property START_INCOMPLETE As Boolean = False
    Public Property CURRENT_FILENAME As String
    Public Property CURRENT_NEWFILENAME As String
    Public Property CURRENT_WORKFILE_GUID As Integer
    Public Property CURRENT_WORKFILE_HASH As String
    Public Property CURRENT_WORKFILE As String
    Public Property CURR_WORKFILE_EXTENSION As String

    Public Property CONFIG As ConfigManager(Of ClassConfig)
    Public Property LOGCONFIG As LogConfig
    Public Property LOGGER As Logger
    Public Property EMAIL As Email2
    Public Property FILESYSTEM As FilesystemEx

    Public Property FILE_HANDLER As ClassFileHandler
    Public Property FOLDER_WATCHER As ClassFolderWatcher

    Public Property CURRENT_DOKART_ID As Integer
    Public Property CURRENT_DOKART_DUPLICATE_HANDLING As String = "Default"
    Public Property CURRENT_LASTDOKART As String = ""
    Public Property CURRENT_INDEXMAN As Integer
    Public Property CURRENT_INDEXAUTO As Integer

    Public Property VERSION_DELIMITER As String
    Public Property FILE_DELIMITER As String
    Public Property CURRENT_MESSAGEID As String
    Public Property CURRENT_MESSAGEDATE As String
    Public Property CURRENT_MESSAGESUBJECT As String
    Public Property CURRENT_ISATTACHMENT As Boolean = False

    Public Property USER_ID
    Public Property USER_IN_MODULE As Boolean = False
    Public Property USER_IS_ADMIN As Boolean = False

    Public Property USER_SHORTNAME As String = ""
    Public Property USER_PRENAME As String = ""
    Public Property USER_SURNAME As String = ""
    Public Property USER_EMAIL As String = ""
    Public Property USER_LANGUAGE As String = "DE"
    Public Property USER_USERNAME As String = ""
    Public Property USERCOUNT_LOGGED_IN As Integer = 0

    Public Property CURRENT_FOLDERWATCH As String = ""
    Public Property CURRENT_SCAN_FOLDERWATCH As String = ""

    Public Property FWFunction_STARTED As Boolean = False

    Public Property CURR_DOKART_WD_DIRECT As Boolean = False
    Public Property CURR_DOKART_OBJECTTYPE As String

    Public Property LICENSE_EXPIRED As Boolean = False
    Public Property LICENSE_COUNT As Integer = 0
    Public Property LICENSE_DOCTYPE_COUNT As Integer = 0
    Public Property DOCTYPE_COUNT_ACTUAL As Integer = 0
    Public Property LicenseHotKey As Integer = 0

    Public Property INDEXING_ACTIVE As Boolean = False
    Public Property MULTIINDEXING_ACTIVE As Boolean = False
    Public Property ABORT_INDEXING As Boolean = False

    Public Property DTACTUAL_FILES As DataTable
    Public Property DTEXCLUDE_FILES As DataTable
    Public Property DTTBGI_REGEX_DOCTYPE As DataTable

    Public Property CURRENT_SQLRESULT As String
    Public Property DTSQL_RESULT As DataTable

    Public Property LANGUAGE_CHANGED As Boolean = False
    Public Property CURR_MISSING_PATTERN_NAME As String
    Public Property CURR_MISSING_SEARCH_STRING As String
    Public Property CURR_MISSING_MANUAL_VALUE As String
    Public Property CURR_DELETE_ORIGIN As Boolean = False
    Public Property CURRENT_DT_REGEX As DataTable
    Public Property REGEX_CLEAN_FILENAME As String = "[?*^""<>|]"
    Public Property CURRENT_DROPTYPE

    Public Property VIEWER_LICENSE As String = ""
    Public CURRENT_DOC_ID As Integer
End Module


