1ad7783e4SBrian Hill /* 2ad7783e4SBrian Hill * Copyright 2017, Haiku, Inc. All Rights Reserved. 3ad7783e4SBrian Hill * Distributed under the terms of the MIT License. 4ad7783e4SBrian Hill * 5ad7783e4SBrian Hill * Authors: 6*acfd5c86SBrian Hill * Brian Hill <supernova@tycho.email> 7ad7783e4SBrian Hill */ 8ad7783e4SBrian Hill #ifndef UPDATE_ACTION_H 9ad7783e4SBrian Hill #define UPDATE_ACTION_H 10ad7783e4SBrian Hill 11ad7783e4SBrian Hill 12ad7783e4SBrian Hill #include "UpdateManager.h" 13ad7783e4SBrian Hill 14ad7783e4SBrian Hill 15ad7783e4SBrian Hill class UpdateAction { 16ad7783e4SBrian Hill public: 17b35bccc0SBrian Hill UpdateAction(bool verbose); 18ad7783e4SBrian Hill ~UpdateAction(); 1973c2c7b4SBrian Hill status_t Perform(update_type action_request); 20ad7783e4SBrian Hill 21ad7783e4SBrian Hill private: 22ad7783e4SBrian Hill UpdateManager* fUpdateManager; 23b35bccc0SBrian Hill bool fVerbose; 24ad7783e4SBrian Hill }; 25ad7783e4SBrian Hill 26ad7783e4SBrian Hill 27ad7783e4SBrian Hill #endif // UPDATE_ACTION_H 28