Imports System.IO

Namespace Globix

    Public Class State
        Public Property DTACTUAL_FILES As DataTable
        Public Property TEMP_FILES As List(Of String) = New List(Of String)
        Public Property CurrMessageID As String
        'Public Property CURRENT_FILENAME As String
        Public Property CurrentFolderWatchPath As String
        Public Property CURRENT_SCAN_FOLDERWATCH As String
        'Public Property CURRENT_WORKFILE_GUID As Long
        'Public Property CURRENT_WORKFILE As String
        Public Property CurrentWorkfile As Globix.Models.WorkFile

        Public Property CURRENT_IDB_OBJ_ID As Long
        Public Property INDEXING_ACTIVE As Boolean = False
        Public Property ABORT_INDEXING As Boolean = False
        Public Property CURRENT_ISATTACHMENT As Boolean = False
        Public Property DeleteOriginalFile As Boolean = False
        Public Property CURRENT_LASTDOCTYPE As String
        Public Property MULTIINDEXING_ACTIVE As Boolean = False
        Public Property CURRENT_PROFILE_LOG_INDEX As String
        'Public Property DT_FUNCTION_REGEX As DataTable
        'Public Property DTTBGI_REGEX_DOCTYPE As DataTable
        'Public Property REGEX_CLEAN_FILENAME As String = "[?*^""<>|]"
        'Public Property CURRENT_DOCTYPE_ID As Int16
        'Public Property CURRENT_WORKFILE_EXTENSION As String
        'Public Property CURRENT_NEWFILENAME As String
        'Public Property CURRENT_MESSAGEDATE As String

        'Public Property CURRENT_MESSAGESUBJECT As String
        'Public Property CURRENT_DOCTYPE_DuplicateHandling As String
        'Public Property CURR_DT_MAN_INDEXE As DataTable
        'Public Property CURR_DT_AUTO_INDEXE As DataTable
        'Public Property CURR_DT_DOCTYPE As DataTable
        'Public Property CURR_INDEX_MAN_POSTPROCESSING As DataTable
        'Public Property FILE_DELIMITER As String
        'Public Property VERSION_DELIMITER As String
        'Public Property CURRENT_MESSAGEID As String
        Public Property Folderwatchstarted As Boolean = False
        Public Property DTEXCLUDE_FILES As DataTable
        Public Property PATH_FileExclusions As String = Path.Combine(Application.UserAppDataPath(), "FileExclusions.xml")

    End Class
End Namespace

