| 1 | /* |
| 2 | * Copyright (C) 2008 Steve Ratcliffe |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 3 or |
| 6 | * version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | package uk.me.parabola.imgfmt.app.mdr; |
| 14 | |
| 15 | /** |
| 16 | * @author Steve Ratcliffe |
| 17 | */ |
| 18 | public interface HasHeaderFlags { |
| 19 | /** |
| 20 | * Return the value that is put in the header after the section start, len |
| 21 | * and record size fields. |
| 22 | * At least in some cases this field controls what fields and/or size |
| 23 | * exist in the section. |
| 24 | * @return The correct value based on the contents of the section. Zero |
| 25 | * if nothing needs to be done. |
| 26 | */ |
| 27 | int getExtraValue(); |
| 28 | } |