|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2024 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module implementing an enum for the various service categories. |
|
8 """ |
|
9 |
|
10 import enum |
|
11 |
|
12 class EricRequestCategory(enum.IntEnum): |
|
13 """ |
|
14 Class defining the service categories of the eric remote server. |
|
15 """ |
|
16 FileSystem = 0 |
|
17 Project = 1 |
|
18 Debugger = 2 |
|
19 |
|
20 Echo = 253 # only used for testing |
|
21 Error = 254 |
|
22 Server = 255 # used by the remote server internally |
|
23 |
|
24 # user/plugins may define own categories starting with this value |
|
25 UserCategory = 1024 |