mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
e2f32b8f9d
Instead of everyone overriding save_to() and set_property() and doing a pretty asymmetric job of implementing the various properties, let's add a bit of structure here. Object properties are now represented by a Core::Property. Properties are registered with a getter and setter (optional) in constructors. I've added some convenience macros for creating and registering properties, but this does still feel a bit bulky. We'll have to iterate on this and see where it goes.
35 lines
624 B
CMake
35 lines
624 B
CMake
set(SOURCES
|
|
ArgsParser.cpp
|
|
ConfigFile.cpp
|
|
Command.cpp
|
|
DateTime.cpp
|
|
DirIterator.cpp
|
|
ElapsedTimer.cpp
|
|
Event.cpp
|
|
EventLoop.cpp
|
|
File.cpp
|
|
GetPassword.cpp
|
|
Gzip.cpp
|
|
IODevice.cpp
|
|
LocalServer.cpp
|
|
LocalSocket.cpp
|
|
MimeData.cpp
|
|
NetworkJob.cpp
|
|
NetworkResponse.cpp
|
|
Notifier.cpp
|
|
Object.cpp
|
|
ProcessStatisticsReader.cpp
|
|
Property.cpp
|
|
puff.cpp
|
|
SocketAddress.cpp
|
|
Socket.cpp
|
|
StandardPaths.cpp
|
|
TCPServer.cpp
|
|
TCPSocket.cpp
|
|
Timer.cpp
|
|
UDPServer.cpp
|
|
UDPSocket.cpp
|
|
)
|
|
|
|
serenity_lib(LibCore core)
|
|
target_link_libraries(LibCore LibC)
|