From fb9df0c269f36703909b8b259abbdbed29881ecd Mon Sep 17 00:00:00 2001 From: tcit Date: Thu, 24 Jul 2014 21:56:04 +0200 Subject: use directly MOBIClass --- .../send2kindle/MOBIClass/PFLISRecord.php | 58 ---------------------- 1 file changed, 58 deletions(-) delete mode 100644 inc/3rdparty/libraries/send2kindle/MOBIClass/PFLISRecord.php (limited to 'inc/3rdparty/libraries/send2kindle/MOBIClass/PFLISRecord.php') diff --git a/inc/3rdparty/libraries/send2kindle/MOBIClass/PFLISRecord.php b/inc/3rdparty/libraries/send2kindle/MOBIClass/PFLISRecord.php deleted file mode 100644 index dbd8ecf5..00000000 --- a/inc/3rdparty/libraries/send2kindle/MOBIClass/PFLISRecord.php +++ /dev/null @@ -1,58 +0,0 @@ -elements = new FileElement(array( - "offsetL0"=>new FileString("FLIS", 4), //FLIS - "offsetL4"=>new FileInt(0x08), - "offsetL8"=>new FileShort(0x41), - "offsetL10"=>new FileString(6), - "offsetL16"=>new FileInt(0xFFFFFFFF), - "offsetL20"=>new FileShort(0x01), - "offsetL22"=>new FileShort(0x03), - "offsetL24"=>new FileInt(0x03), - "offsetL28"=>new FileInt(0x01), - "offsetL32"=>new FileInt(0xFFFFFFFF) - - )); - } - public function getByteLength(){ - return $this->getLength(); - } - - public function getLength(){ - return $this->elements->getByteLength(); - } - - public function get(){ - return $this; - } - - public function set($elements){ - throw new Exception("Unallowed set"); - } - - public function serialize() { - return $this->elements->serialize(); - } - - public function unserialize($data) { - $this->elements->unserialize($data); - } - - public function __toString(){ - $output = "PalmDoc Record (".$this->getByteLength()." bytes):\n"; - $output .= $this->elements; - return $output; - } - -} \ No newline at end of file -- cgit v1.2.3