2016-05-25 02:53:03 +00:00
|
|
|
# Copyright 2016 Hardcoded Software (http://www.hardcoded.net)
|
|
|
|
#
|
|
|
|
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
|
|
|
|
# which should be included with this package. The terms are also available at
|
|
|
|
# http://www.gnu.org/licenses/gpl-3.0.html
|
|
|
|
|
|
|
|
from hscommon.trans import tr
|
|
|
|
|
|
|
|
from core.scanner import Scanner as ScannerBase, ScanOption, ScanType
|
|
|
|
|
2020-01-01 02:16:27 +00:00
|
|
|
|
2016-05-25 02:53:03 +00:00
|
|
|
class ScannerSE(ScannerBase):
|
2016-05-29 20:52:07 +00:00
|
|
|
@staticmethod
|
|
|
|
def get_scan_options():
|
2016-05-25 02:53:03 +00:00
|
|
|
return [
|
|
|
|
ScanOption(ScanType.Filename, tr("Filename")),
|
|
|
|
ScanOption(ScanType.Contents, tr("Contents")),
|
|
|
|
ScanOption(ScanType.Folders, tr("Folders")),
|
|
|
|
]
|