| 1 | /* |
| 2 | * Copyright (C) 2011. |
| 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, but |
| 9 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 | * General Public License for more details. |
| 12 | */ |
| 13 | package uk.me.parabola.imgfmt.app.mdr; |
| 14 | |
| 15 | /** |
| 16 | * This is the index for the POI section (Mdr11). |
| 17 | * It works exactly the same way as Mdr8 as far as we know. |
| 18 | * |
| 19 | * @author Steve Ratcliffe |
| 20 | */ |
| 21 | public class Mdr12 extends Mdr8 { |
| 22 | public Mdr12(MdrConfig config) { |
| 23 | super(config); |
| 24 | } |
| 25 | |
| 26 | @Override |
| 27 | protected int associatedSize() { |
| 28 | return getSizes().getPoiSize(); |
| 29 | } |
| 30 | } |