From 4d93e38a67f5c98b1f537585e38fec88be7cc809 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 7 Apr 2008 12:02:46 +0000 Subject: [PATCH] Interface re-added --- .gitattributes | 1 + .../interfaces/class_TradeableItem.php | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 application/ship-simu/interfaces/class_TradeableItem.php diff --git a/.gitattributes b/.gitattributes index c0302a5..bf1e6d7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -50,6 +50,7 @@ application/ship-simu/interfaces/class_ContractPartner.php -text application/ship-simu/interfaces/class_Customer.php -text application/ship-simu/interfaces/class_Personellizer.php -text application/ship-simu/interfaces/class_SignableContract.php -text +application/ship-simu/interfaces/class_TradeableItem.php -text application/ship-simu/loader.php -text application/ship-simu/main/.htaccess -text application/ship-simu/main/class_ -text diff --git a/application/ship-simu/interfaces/class_TradeableItem.php b/application/ship-simu/interfaces/class_TradeableItem.php new file mode 100644 index 0000000..a746838 --- /dev/null +++ b/application/ship-simu/interfaces/class_TradeableItem.php @@ -0,0 +1,35 @@ + + * @version 0.0.0 + * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @license GNU GPL 3.0 or any newer version + * @link http://www.ship-simu.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +interface TradeableItem extends FrameworkInterface { + /** + * Is this item (=object) tradeable? + * + * @return boolean true = is a tradeable object, + * false = is not tradeable + */ + function isTradeable (); +} + +// [EOF] +?> -- 2.39.5