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@warpmail.net> 7 */ 8 #ifndef _WORKING_LOOPER_H 9 #define _WORKING_LOOPER_H 10 11 12 #include <Looper.h> 13 #include <Message.h> 14 15 #include "UpdateAction.h" 16 17 18 const uint32 kMsgStart = 'iSTA'; 19 20 21 class WorkingLooper : public BLooper { 22 public: 23 WorkingLooper(); 24 void MessageReceived(BMessage* message); 25 26 private: 27 UpdateAction fAction; 28 }; 29 30 31 #endif // _WORKING_LOOPER_H 32