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/PFCISRecord.php | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 inc/3rdparty/libraries/send2kindle/MOBIClass/PFCISRecord.php (limited to 'inc/3rdparty/libraries/send2kindle/MOBIClass/PFCISRecord.php') diff --git a/inc/3rdparty/libraries/send2kindle/MOBIClass/PFCISRecord.php b/inc/3rdparty/libraries/send2kindle/MOBIClass/PFCISRecord.php deleted file mode 100644 index 9e72cc1c..00000000 --- a/inc/3rdparty/libraries/send2kindle/MOBIClass/PFCISRecord.php +++ /dev/null @@ -1,59 +0,0 @@ -elements = new FileElement(array( - "offset0"=>new FileString("FCIS", 4), //FCIS - "offset4"=>new FileInt(0x014), - "offset8"=>new FileInt(0x10), - "offset12"=>new FileInt(0x01), - "offset16"=>new FileInt(), - "offset20"=>new FileInt($leng), - "offset24"=>new FileInt(), - "offset28"=>new FileInt(0x20), - "offset32"=>new FileInt(0x08), - "offset36"=>new FileShort(0x01), - "offset38"=>new FileShort(0x01), - "offset40"=>new FileInt() - )); - } - 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