Blame | Last modification | View Log | RSS feed
"""Holder for all types that are used by the Par2* series of classes.This program is part of rarslave, an open-source program forautomatically checking, repairing, and extracting files, primarilythose which are downloaded from usenet.Visit https://svn.irasnyder.com/svn/programming/rarslave for thelatest version."""__author__ = "Ira W. Snyder (devel@irasnyder.com)"__copyright__ = "Copyright (c) 2005,2006 Ira W. Snyder (devel@irasnyder.com)"__license__ = "GNU GPL v2 (or, at your option, any later version"################################################################################# The PAR2 Types Module## Copyright 2006, Ira W. Snyder (devel@irasnyder.com)# License: GNU General Public License v2 (or, at your option, any later version)## To make use of these definitions, use "from Par2Types import *"################################################################################# An enum of types( UNKNOWN_TYPE, # Represents a type that we don't know about yetS_SPLIT_000, # Single file protected, LXSplit, starting with .000M_SPLIT_000, # Multiple files protected, LXSplit, starting with .000S_SPLIT_001, # Single file protected, LXSplit, starting with .001M_SPLIT_001, # Multiple files protected, LXSplit, starting with .001S_PROT_SPLIT_000, # All .DDD files protected, LXSplit, starting with .000 (single set)M_PROT_SPLIT_000, # All .DDD files protected, LXSplit, starting with .000 (multiple sets)S_PROT_SPLIT_001, # All .DDD files protected, LXSplit, starting with .001 (single set)M_PROT_SPLIT_001, # All .DDD files protected, LXSplit, starting with .001 (multiple sets)S_RAR_OLD, # Single set of rars, Old style, starting with .rDDM_RAR_OLD, # Multiple set of rars, Old style, starting with .rDDS_RAR_NEW, # Single set of rars, New style, starting with .partDD.rarM_RAR_NEW, # Multiple set of rars, New style, starting with .partDD.rar) = range (13) # WARNING: If adding types, increment this number appropriately