mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +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
				
			
		|  | @ -12,7 +12,7 @@ | |||
| #include <AK/Optional.h> | ||||
| #include <AK/RefPtr.h> | ||||
| #include <AK/Vector.h> | ||||
| #include <LibCore/Object.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibSQL/Forward.h> | ||||
| #include <LibSQL/Heap.h> | ||||
| #include <LibSQL/Index.h> | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| #include <AK/DeprecatedString.h> | ||||
| #include <AK/NonnullRefPtr.h> | ||||
| #include <AK/RefPtr.h> | ||||
| #include <LibCore/Object.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibSQL/Forward.h> | ||||
| #include <LibSQL/Heap.h> | ||||
| #include <LibSQL/Meta.h> | ||||
|  | @ -24,7 +24,7 @@ namespace SQL { | |||
|  * to store in it. It has BTree pointers for B-Trees holding the definitions | ||||
|  * of tables, columns, indexes, and other SQL objects. | ||||
|  */ | ||||
| class Database : public Core::Object { | ||||
| class Database : public Core::EventReceiver { | ||||
|     C_OBJECT(Database); | ||||
| 
 | ||||
| public: | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <AK/WeakPtr.h> | ||||
| #include <LibCore/Object.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibSQL/Forward.h> | ||||
| #include <LibSQL/Heap.h> | ||||
| #include <LibSQL/Index.h> | ||||
|  |  | |||
|  | @ -12,8 +12,8 @@ | |||
| #include <AK/DeprecatedString.h> | ||||
| #include <AK/HashMap.h> | ||||
| #include <AK/Vector.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibCore/File.h> | ||||
| #include <LibCore/Object.h> | ||||
| 
 | ||||
| namespace SQL { | ||||
| 
 | ||||
|  | @ -64,7 +64,7 @@ private: | |||
|  * A Heap can be thought of the backing storage of a single database. It's | ||||
|  * assumed that a single SQL database is backed by a single Heap. | ||||
|  */ | ||||
| class Heap : public Core::Object { | ||||
| class Heap : public Core::EventReceiver { | ||||
|     C_OBJECT(Heap); | ||||
| 
 | ||||
| public: | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <LibCore/Object.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibSQL/Forward.h> | ||||
| #include <LibSQL/Meta.h> | ||||
| #include <LibSQL/Serializer.h> | ||||
|  | @ -31,7 +31,7 @@ private: | |||
|     Block::Index m_block_index; | ||||
| }; | ||||
| 
 | ||||
| class Index : public Core::Object { | ||||
| class Index : public Core::EventReceiver { | ||||
|     C_OBJECT_ABSTRACT(Index); | ||||
| 
 | ||||
| public: | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
| #include <AK/NonnullRefPtr.h> | ||||
| #include <AK/Result.h> | ||||
| #include <AK/Vector.h> | ||||
| #include <LibCore/Object.h> | ||||
| #include <LibCore/EventReceiver.h> | ||||
| #include <LibSQL/Forward.h> | ||||
| #include <LibSQL/Heap.h> | ||||
| #include <LibSQL/Type.h> | ||||
|  | @ -23,7 +23,7 @@ namespace SQL { | |||
|  * It remains to be seen if this will survive in it's current form. | ||||
|  */ | ||||
| 
 | ||||
| class Relation : public Core::Object { | ||||
| class Relation : public Core::EventReceiver { | ||||
|     C_OBJECT_ABSTRACT(Relation); | ||||
| 
 | ||||
| public: | ||||
|  | @ -36,14 +36,14 @@ public: | |||
| 
 | ||||
| protected: | ||||
|     Relation(DeprecatedString name, Block::Index block_index, Relation* parent = nullptr) | ||||
|         : Core::Object(parent) | ||||
|         : Core::EventReceiver(parent) | ||||
|         , m_block_index(block_index) | ||||
|     { | ||||
|         set_name(move(name)); | ||||
|     } | ||||
| 
 | ||||
|     explicit Relation(DeprecatedString name, Relation* parent = nullptr) | ||||
|         : Core::Object(parent) | ||||
|         : Core::EventReceiver(parent) | ||||
|         , m_block_index(0) | ||||
|     { | ||||
|         set_name(move(name)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling