mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-27 11:06:50 +01:00 
			
		
		
		
	merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
		| @@ -44,11 +44,21 @@ class Foundation_API Event: private EventImpl | ||||
| 	/// for an event to become signalled. | ||||
| { | ||||
| public: | ||||
| 	Event(bool autoReset = true); | ||||
| 		/// Creates the event. If autoReset is true, | ||||
| 	enum EventType | ||||
| 	{ | ||||
| 		EVENT_MANUALRESET, /// Manual reset event | ||||
| 		EVENT_AUTORESET    /// Auto-reset event | ||||
| 	}; | ||||
|  | ||||
| 	explicit Event(EventType type = EVENT_AUTORESET); | ||||
| 		/// Creates the event. If type is EVENT_AUTORESET, | ||||
| 		/// the event is automatically reset after | ||||
| 		/// a wait() successfully returns. | ||||
| 		 | ||||
| 	//@ deprecated | ||||
| 	explicit Event(bool autoReset); | ||||
| 		/// Please use Event::Event(EventType) instead. | ||||
|  | ||||
| 	~Event(); | ||||
| 		/// Destroys the event. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Günter Obiltschnig
					Günter Obiltschnig