Index: trunk/extensions/Maps/Features/Maps_iMappingFeature.php |
— | — | @@ -0,0 +1,42 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * File holding interface iMappingFeature. |
| 6 | + * |
| 7 | + * @file Maps_iMappingFeature.php |
| 8 | + * @ingroup Maps |
| 9 | + * |
| 10 | + * @author Jeroen De Dauw |
| 11 | + */ |
| 12 | + |
| 13 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 14 | + die( 'Not an entry point.' ); |
| 15 | +} |
| 16 | + |
| 17 | +/** |
| 18 | + * Interface that should be implemented by all mapping features that want to use the. |
| 19 | + * |
| 20 | + * @since 0.6.5 |
| 21 | + * |
| 22 | + * @author Jeroen De Dauw |
| 23 | + */ |
| 24 | +interface iMappingFeature { |
| 25 | + /** |
| 26 | + * Adds the HTML specific to the mapping service to the output. |
| 27 | + * |
| 28 | + * @since 0.6.5 |
| 29 | + * |
| 30 | + * @return string |
| 31 | + */ |
| 32 | + function addSpecificMapHTML(); |
| 33 | + |
| 34 | + /** |
| 35 | + * Returns the specific parameters by first checking if they have been initialized yet, |
| 36 | + * doing to work if this is not the case, and then returning them. |
| 37 | + * |
| 38 | + * @since 0.6.5 |
| 39 | + * |
| 40 | + * @return array |
| 41 | + */ |
| 42 | + function getSpecificParameterInfo(); |
| 43 | +} |
\ No newline at end of file |
Property changes on: trunk/extensions/Maps/Features/Maps_iMappingFeature.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 44 | + native |