1/*
2 * Copyright 2017, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Brian Hill <supernova@tycho.email>
7 */
8#ifndef _WORKING_LOOPER_H
9#define _WORKING_LOOPER_H
10
11
12#include <Looper.h>
13#include <Message.h>
14
15#include "CheckAction.h"
16#include "UpdateAction.h"
17
18
19const uint32 kMsgStart = 'iSTA';
20
21
22class WorkingLooper : public BLooper {
23public:
24							WorkingLooper(update_type action, bool verbose);
25							~WorkingLooper();
26			void			MessageReceived(BMessage* message);
27
28private:
29			UpdateAction*	fUpdateAction;
30			CheckAction*	fCheckAction;
31			update_type		fActionRequested;
32			bool			fVerbose;
33
34};
35
36
37#endif // _WORKING_LOOPER_H
38