1/* 2 * Copyright 2006-2007, 2023, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan A��mus <superstippi@gmx.de> 7 * Zardshard 8 */ 9#ifndef REMOVE_STYLES_COMMAND_H 10#define REMOVE_STYLES_COMMAND_H 11 12 13#include "IconBuild.h" 14#include "RemoveCommand.h" 15 16 17class BList; 18 19_BEGIN_ICON_NAMESPACE 20 class Style; 21_END_ICON_NAMESPACE 22 23_USING_ICON_NAMESPACE 24 25 26class RemoveStylesCommand : public RemoveCommand<Style> { 27 public: 28 RemoveStylesCommand( 29 Container<Style>* container, 30 int32* const indices, 31 int32 count); 32 virtual ~RemoveStylesCommand(); 33 34 virtual status_t InitCheck(); 35 36 virtual status_t Perform(); 37 virtual status_t Undo(); 38 39 virtual void GetName(BString& name); 40 41 private: 42 BList* fShapes; 43}; 44 45#endif // REMOVE_STYLES_COMMAND_H 46