xref: /haiku/src/apps/softwareupdater/UpdateAction.h (revision acfd5c8676cf30f60d47d873cc5bc618ce21ffe4)
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 UPDATE_ACTION_H
9 #define UPDATE_ACTION_H
10 
11 
12 #include "UpdateManager.h"
13 
14 
15 class UpdateAction {
16 public:
17 								UpdateAction(bool verbose);
18 								~UpdateAction();
19 		status_t				Perform(update_type action_request);
20 
21 private:
22 		UpdateManager*			fUpdateManager;
23 		bool					fVerbose;
24 };
25 
26 
27 #endif // UPDATE_ACTION_H
28