From 2a50dcb049a05b11c9159454986c1f860e3fbb6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 8 Jul 2009 22:38:01 +0000 Subject: [PATCH] State interfaces prepared --- .gitattributes | 7 +++++ application/hub/interfaces/states/.htaccess | 1 + application/hub/interfaces/states/class_ | 28 +++++++++++++++++++ .../hub/interfaces/states/class_Stateable.php | 28 +++++++++++++++++++ .../hub/interfaces/states/client/.htaccess | 1 + .../states/client/class_ClientStateable.php | 28 +++++++++++++++++++ .../hub/interfaces/states/hub/.htaccess | 1 + .../states/hub/class_HubStateable.php | 28 +++++++++++++++++++ 8 files changed, 122 insertions(+) create mode 100644 application/hub/interfaces/states/.htaccess create mode 100644 application/hub/interfaces/states/class_ create mode 100644 application/hub/interfaces/states/class_Stateable.php create mode 100644 application/hub/interfaces/states/client/.htaccess create mode 100644 application/hub/interfaces/states/client/class_ClientStateable.php create mode 100644 application/hub/interfaces/states/hub/.htaccess create mode 100644 application/hub/interfaces/states/hub/class_HubStateable.php diff --git a/.gitattributes b/.gitattributes index 5313adb66..21bfff9f4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,6 +24,13 @@ application/hub/interfaces/query/.htaccess -text application/hub/interfaces/query/class_Queryable.php -text application/hub/interfaces/queues/.htaccess -text application/hub/interfaces/queues/class_Queueable.php -text +application/hub/interfaces/states/.htaccess -text +application/hub/interfaces/states/class_ -text +application/hub/interfaces/states/class_Stateable.php -text +application/hub/interfaces/states/client/.htaccess -text +application/hub/interfaces/states/client/class_ClientStateable.php -text +application/hub/interfaces/states/hub/.htaccess -text +application/hub/interfaces/states/hub/class_HubStateable.php -text application/hub/loader.php -text application/hub/main/.htaccess -text application/hub/main/class_BaseHubSystem.php -text diff --git a/application/hub/interfaces/states/.htaccess b/application/hub/interfaces/states/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/application/hub/interfaces/states/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/hub/interfaces/states/class_ b/application/hub/interfaces/states/class_ new file mode 100644 index 000000000..8d73e2b8c --- /dev/null +++ b/application/hub/interfaces/states/class_ @@ -0,0 +1,28 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team + * @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 ????Stateable extends Stateable { +} + +// +?> diff --git a/application/hub/interfaces/states/class_Stateable.php b/application/hub/interfaces/states/class_Stateable.php new file mode 100644 index 000000000..3c205ba2c --- /dev/null +++ b/application/hub/interfaces/states/class_Stateable.php @@ -0,0 +1,28 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team + * @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 Stateable extends FrameworkInterface { +} + +// +?> diff --git a/application/hub/interfaces/states/client/.htaccess b/application/hub/interfaces/states/client/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/application/hub/interfaces/states/client/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/hub/interfaces/states/client/class_ClientStateable.php b/application/hub/interfaces/states/client/class_ClientStateable.php new file mode 100644 index 000000000..de9967875 --- /dev/null +++ b/application/hub/interfaces/states/client/class_ClientStateable.php @@ -0,0 +1,28 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team + * @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 ClientStateable extends Stateable { +} + +// +?> diff --git a/application/hub/interfaces/states/hub/.htaccess b/application/hub/interfaces/states/hub/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/application/hub/interfaces/states/hub/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/hub/interfaces/states/hub/class_HubStateable.php b/application/hub/interfaces/states/hub/class_HubStateable.php new file mode 100644 index 000000000..47d9a785c --- /dev/null +++ b/application/hub/interfaces/states/hub/class_HubStateable.php @@ -0,0 +1,28 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team + * @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 HubStateable extends Stateable { +} + +// +?> -- 2.39.5