Pārlūkot izejas kodu

Add licensing information

Olivier Poitrey 16 gadi atpakaļ
vecāks
revīzija
89b45c3f85
5 mainītis faili ar 50 papildinājumiem un 30 dzēšanām
  1. 7 7
      DMImageCache.h
  2. 7 7
      DMImageCache.m
  3. 8 8
      DMWebImageView.h
  4. 8 8
      DMWebImageView.m
  5. 20 0
      LICENSE

+ 7 - 7
DMImageCache.h

@@ -1,10 +1,10 @@
-//
-//  DMImageCache.h
-//  Dailymotion
-//
-//  Created by Olivier Poitrey on 19/09/09.
-//  Copyright 2009 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the DMWebImage package.
+ * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <Foundation/Foundation.h>
 

+ 7 - 7
DMImageCache.m

@@ -1,10 +1,10 @@
-//
-//  DMImageCache.m
-//  Dailymotion
-//
-//  Created by Olivier Poitrey on 19/09/09.
-//  Copyright 2009 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the DMWebImage package.
+ * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */ 
 
 #import "DMImageCache.h"
 #import <CommonCrypto/CommonDigest.h>

+ 8 - 8
DMWebImageView.h

@@ -1,10 +1,10 @@
-//
-//  DMWebImageView.h
-//  Dailymotion
-//
-//  Created by Olivier Poitrey on 18/09/09.
-//  Copyright 2009 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the DMWebImage package.
+ * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */ 
 
 #import <UIKit/UIKit.h>
 
@@ -32,4 +32,4 @@
 
 - (id)initWithURL:(NSURL *)url delegate:(DMWebImageView *)delegate;
 
-@end
+@end

+ 8 - 8
DMWebImageView.m

@@ -1,10 +1,10 @@
-//
-//  DMWebImageView.m
-//  Dailymotion
-//
-//  Created by Olivier Poitrey on 18/09/09.
-//  Copyright 2009 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the DMWebImage package.
+ * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */ 
 
 #import "DMWebImageView.h"
 #import "DMImageCache.h"
@@ -135,4 +135,4 @@ static NSOperationQueue *cacheInQueue;
     [image release];
 }
 
-@end
+@end

+ 20 - 0
LICENSE

@@ -0,0 +1,20 @@
+Copyright (c) 2009 Dailymotion - Olivier Poitrey <rs@dailymotion.com>
+ 
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+ 
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+ 
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+