File indexing completed on 2024-05-05 13:24:26
0001 /* 0002 This file provides the enumerations of Smb4KGlobal 0003 0004 SPDX-FileCopyrightText: 2023 Alexander Reinholdt <alexander.reinholdt@kdemail.net> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef SMB4KGLOBALENUMS_H 0009 #define SMB4KGLOBALENUMS_H 0010 0011 namespace Smb4KGlobal 0012 { 0013 /** 0014 * The Process enumeration. 0015 * 0016 * @enum LookupDomains Look up domains 0017 * @enum LookupDomainMembers Look up those servers that belong to a domain/workgroup 0018 * @enum LookupShares Look up shares on a server 0019 * @enum LookupFiles Look up files and directories within a share 0020 * @enum WakeUp Send magic Wake-On-LAN packets 0021 * @enum PrintFile Print a file 0022 * @enum NetworkSearch Network search 0023 * @enum MountShare Mount a share 0024 * @enum UnmountShare Unmount a share 0025 * @enum NoProcess No process 0026 */ 0027 enum Process { LookupDomains, LookupDomainMembers, LookupShares, LookupFiles, WakeUp, PrintFile, NetworkSearch, MountShare, UnmountShare, NoProcess }; 0028 0029 /** 0030 * The enumeration to determine the type of a network item. 0031 * 0032 * @enum Network The network 0033 * @enum Workgroup A workgroup 0034 * @enum Host A host 0035 * @enum Share A share 0036 * @enum FileOrDirectory A file or director in a shared folder 0037 * @enum UnknownNetworkItem An unknown network item 0038 */ 0039 enum NetworkItem { Network, Workgroup, Host, Share, FileOrDirectory, UnknownNetworkItem }; 0040 0041 /** 0042 * The enumeration that determines the share type 0043 * 0044 * @enum FileShare a file share 0045 * @enum PrinterShare a printer share 0046 * @enum IpcShare an IPC share 0047 */ 0048 enum ShareType { FileShare, PrinterShare, IpcShare }; 0049 }; 0050 0051 #endif