File indexing completed on 2024-12-08 11:06:54
0001 /*************************************************************************** 0002 * Copyright (C) 2003-2004 by David Saxton * 0003 * david@bluehaze.org * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 ***************************************************************************/ 0010 0011 #ifndef REPEAT_H 0012 #define REPEAT_H 0013 0014 #include "flowcontainer.h" 0015 0016 /** 0017 @author David Saxton 0018 */ 0019 class Repeat : public FlowContainer 0020 { 0021 public: 0022 Repeat(ICNDocument *icnDocument, bool newItem, const char *id); 0023 ~Repeat() override; 0024 0025 static Item *construct(ItemDocument *itemDocument, bool newItem, const char *id); 0026 static LibraryItem *libraryItem(); 0027 0028 void generateMicrobe(FlowCode *) override; 0029 0030 protected: 0031 void dataChanged() override; 0032 }; 0033 0034 #endif