]> git.mxchange.org Git - shipsimu.git/commitdiff
Interface re-added
authorRoland Häder <roland@mxchange.org>
Mon, 7 Apr 2008 12:02:46 +0000 (12:02 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 7 Apr 2008 12:02:46 +0000 (12:02 +0000)
.gitattributes
application/ship-simu/interfaces/class_TradeableItem.php [new file with mode: 0644]

index c0302a5538f0108c212ef648177ac0f4a5573bd7..bf1e6d71e84cb09ad73146df26e80199ce19c165 100644 (file)
@@ -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 (file)
index 0000000..a746838
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+/**
+ * An interface for tradeable items
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @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 <http://www.gnu.org/licenses/>.
+ */
+interface TradeableItem extends FrameworkInterface {
+       /**
+        * Is this item (=object) tradeable?
+        *
+        * @return      boolean true  = is a tradeable object,
+        *                                      false = is not tradeable
+        */
+       function isTradeable ();
+}
+
+// [EOF]
+?>