mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
Userland: Rename Core::Object to Core::EventReceiver
This is a more precise description of what this class actually does.
This commit is contained in:
parent
bdf696e488
commit
ddbe6bd7b4
128 changed files with 399 additions and 401 deletions
|
@ -35,7 +35,7 @@ static MACAddress mac_from_string(DeprecatedString const& str)
|
|||
};
|
||||
}
|
||||
|
||||
static bool send(InterfaceDescriptor const& iface, DHCPv4Packet const& packet, Core::Object*)
|
||||
static bool send(InterfaceDescriptor const& iface, DHCPv4Packet const& packet, Core::EventReceiver*)
|
||||
{
|
||||
int fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
if (fd < 0) {
|
||||
|
|
|
@ -36,7 +36,7 @@ struct DHCPv4Transaction {
|
|||
u32 offered_lease_time { 0 };
|
||||
};
|
||||
|
||||
class DHCPv4Client final : public Core::Object {
|
||||
class DHCPv4Client final : public Core::EventReceiver {
|
||||
C_OBJECT(DHCPv4Client)
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue