mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:17:45 +00:00
LookupServer: Turn #defines into enum classes and add formatter
This commit is contained in:
parent
6e70888315
commit
7b3bed7910
11 changed files with 120 additions and 49 deletions
|
@ -18,7 +18,7 @@ namespace LookupServer {
|
|||
class MulticastDNS : public Core::UDPServer {
|
||||
C_OBJECT(MulticastDNS)
|
||||
public:
|
||||
Vector<DNSAnswer> lookup(const DNSName&, unsigned short record_type);
|
||||
Vector<DNSAnswer> lookup(const DNSName&, DNSRecordType record_type);
|
||||
|
||||
private:
|
||||
explicit MulticastDNS(Object* parent = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue