From 69691a2fa92eee53c726afdc266c296bc8d92aad Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 4 Jun 2003 20:18:22 +0000 Subject: [PATCH] Removing the header since it is derived from the one of BeOS R5. I'm going to rewrite it from the scratch, but I suspect, it will look exacly the same. Anyway, that gives me a better feeling. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3424 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/app/MessageRunner.h | 66 ---------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 headers/os/app/MessageRunner.h diff --git a/headers/os/app/MessageRunner.h b/headers/os/app/MessageRunner.h deleted file mode 100644 index 2520fe4562..0000000000 --- a/headers/os/app/MessageRunner.h +++ /dev/null @@ -1,66 +0,0 @@ -//------------------------------------------------------------------------------ -// Copyright (c) 2001-2002, OpenBeOS -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the "Software"), -// to deal in the Software without restriction, including without limitation -// the rights to use, copy, modify, merge, publish, distribute, sublicense, -// and/or sell copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -// DEALINGS IN THE SOFTWARE. -// -// File Name: MessageRunner.h -// Author: Ingo Weinhold (bonefish@users.sf.net) -// Description: A BMessageRunner periodically sends a message to a -// specified target. -//------------------------------------------------------------------------------ -#ifndef _MESSAGE_RUNNER_H -#define _MESSAGE_RUNNER_H - -#include - -class BMessageRunner { -public: - BMessageRunner(BMessenger target, const BMessage *message, - bigtime_t interval, int32 count = -1); - BMessageRunner(BMessenger target, const BMessage *message, - bigtime_t interval, int32 count, BMessenger replyTo); - virtual ~BMessageRunner(); - - status_t InitCheck() const; - - status_t SetInterval(bigtime_t interval); - status_t SetCount(int32 count); - status_t GetInfo(bigtime_t *interval, int32 *count) const; - -private: - virtual void _ReservedMessageRunner1(); - virtual void _ReservedMessageRunner2(); - virtual void _ReservedMessageRunner3(); - virtual void _ReservedMessageRunner4(); - virtual void _ReservedMessageRunner5(); - virtual void _ReservedMessageRunner6(); - - BMessageRunner(const BMessageRunner &); - BMessageRunner &operator=(const BMessageRunner &); - - void InitData(BMessenger target, const BMessage *message, - bigtime_t interval, int32 count, BMessenger replyTo); - status_t SetParams(bool resetInterval, bigtime_t interval, - bool resetCount, int32 count); - - int32 fToken; - uint32 _reserved[6]; -}; - -#endif // _MESSAGE_RUNNER_H