From 2883fcba2bf3fcff286a70c3629016a0c53a6803 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 04 Nov 2014 09:28:27 -0500
Subject: [PATCH] Move TNEF decoder class to the Roundcube Framework (#1490055)

---
 program/lib/Roundcube/rcube_tnef_decoder.php |   36 +++++++++++++++++++++++-------------
 1 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/program/lib/tnef_decoder.php b/program/lib/Roundcube/rcube_tnef_decoder.php
similarity index 88%
rename from program/lib/tnef_decoder.php
rename to program/lib/Roundcube/rcube_tnef_decoder.php
index e6ccc23..f047ba0 100644
--- a/program/lib/tnef_decoder.php
+++ b/program/lib/Roundcube/rcube_tnef_decoder.php
@@ -1,22 +1,33 @@
 <?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | This file is part of the Roundcube Webmail client                     |
+ | Copyright (C) 2008-2014, The Roundcube Dev Team                       |
+ | Copyright (C) 2002-2010, The Horde Project (http://www.horde.org/)    |
+ |                                                                       |
+ | Licensed under the GNU General Public License version 3 or            |
+ | any later version with exceptions for skins & plugins.                |
+ | See the README file for a full license statement.                     |
+ |                                                                       |
+ | PURPOSE:                                                              |
+ |   MS-TNEF format decoder                                              |
+ +-----------------------------------------------------------------------+
+ | Author: Jan Schneider <jan@horde.org>                                 |
+ | Author: Michael Slusarz <slusarz@horde.org>                           |
+ +-----------------------------------------------------------------------+
+*/
+
 /**
- * The Horde's class allows MS-TNEF data to be displayed.
- *
- * The TNEF rendering is based on code by:
+ * MS-TNEF format decoder based on code by:
  *   Graham Norbury <gnorbury@bondcar.com>
  * Original design by:
  *   Thomas Boll <tb@boll.ch>, Mark Simpson <damned@world.std.com>
  *
- * Copyright 2002-2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file COPYING for license information (LGPL). If you
- * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
- *
- * @author  Jan Schneider <jan@horde.org>
- * @author  Michael Slusarz <slusarz@horde.org>
- * @package Horde_Compress
+ * @package    Framework
+ * @subpackage Storage
  */
-class tnef_decoder
+class rcube_tnef_decoder
 {
     const SIGNATURE = 0x223e9f78;
     const LVL_MESSAGE = 0x01;
@@ -327,5 +338,4 @@
             $this->_decodeAttribute($data, $attribute);
         }
     }
-
 }

--
Gitblit v1.9.1