From 83692301545794ba8015243e9d8863a8ed521403 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 10 Jan 2015 22:58:07 +0100 Subject: [PATCH] The name "Pointer" was to general, better use "FilePointer" to make it clear that the implementing classes will be pointers on files. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../io/{class_Pointer.php => class_FilePointer.php} | 4 ++-- .../interfaces/io/pointer/class_InputPointer.php | 2 +- .../interfaces/io/pointer/class_OutputPointer.php | 2 +- inc/classes/main/class_BaseFrameworkSystem.php | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) rename inc/classes/interfaces/io/{class_Pointer.php => class_FilePointer.php} (95%) diff --git a/inc/classes/interfaces/io/class_Pointer.php b/inc/classes/interfaces/io/class_FilePointer.php similarity index 95% rename from inc/classes/interfaces/io/class_Pointer.php rename to inc/classes/interfaces/io/class_FilePointer.php index cac8d570..567eec9b 100644 --- a/inc/classes/interfaces/io/class_Pointer.php +++ b/inc/classes/interfaces/io/class_FilePointer.php @@ -1,6 +1,6 @@ * @version 0.0.0 @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface Pointer extends FrameworkInterface { +interface FilePointer extends FrameworkInterface { /** * Close a file source and set it's instance to null and the file name * to empty. diff --git a/inc/classes/interfaces/io/pointer/class_InputPointer.php b/inc/classes/interfaces/io/pointer/class_InputPointer.php index 35760ce0..eb032537 100644 --- a/inc/classes/interfaces/io/pointer/class_InputPointer.php +++ b/inc/classes/interfaces/io/pointer/class_InputPointer.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface InputPointer extends StreamableInput, Pointer { +interface InputPointer extends StreamableInput, FilePointer { /** * Read data a file pointer * diff --git a/inc/classes/interfaces/io/pointer/class_OutputPointer.php b/inc/classes/interfaces/io/pointer/class_OutputPointer.php index 9ad7bcd8..a4e00087 100644 --- a/inc/classes/interfaces/io/pointer/class_OutputPointer.php +++ b/inc/classes/interfaces/io/pointer/class_OutputPointer.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface OutputPointer extends StreamableOutput, Pointer { +interface OutputPointer extends StreamableOutput, FilePointer { /** * Write data to a file pointer * diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index a3774fc4..9ff3c04b 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -1254,19 +1254,19 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { } /** - * Setter for InputOutputPointer instance + * Setter for FilePointer instance * - * @param $pointerInstance An instance of an InputOutputPointer class + * @param $pointerInstance An instance of an FilePointer class * @return void */ - protected final function setPointerInstance (InputOutputPointer $pointerInstance) { + protected final function setPointerInstance (FilePointer $pointerInstance) { $this->pointerInstance = $pointerInstance; } /** - * Getter for InputOutputPointer instance + * Getter for FilePointer instance * - * @return $pointerInstance An instance of an InputOutputPointer class + * @return $pointerInstance An instance of an FilePointer class */ public final function getPointerInstance () { return $this->pointerInstance; -- 2.39.5