Authored by Olivier Poitrey

Add licensing information

1 -//  
2 -// DMImageCache.h  
3 -// Dailymotion  
4 -//  
5 -// Created by Olivier Poitrey on 19/09/09.  
6 -// Copyright 2009 Dailymotion. All rights reserved.  
7 -// 1 +/*
  2 + * This file is part of the DMWebImage package.
  3 + * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
  4 + *
  5 + * For the full copyright and license information, please view the LICENSE
  6 + * file that was distributed with this source code.
  7 + */
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
1 -//  
2 -// DMImageCache.m  
3 -// Dailymotion  
4 -//  
5 -// Created by Olivier Poitrey on 19/09/09.  
6 -// Copyright 2009 Dailymotion. All rights reserved.  
7 -// 1 +/*
  2 + * This file is part of the DMWebImage package.
  3 + * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
  4 + *
  5 + * For the full copyright and license information, please view the LICENSE
  6 + * file that was distributed with this source code.
  7 + */
8 8
9 #import "DMImageCache.h" 9 #import "DMImageCache.h"
10 #import <CommonCrypto/CommonDigest.h> 10 #import <CommonCrypto/CommonDigest.h>
1 -//  
2 -// DMWebImageView.h  
3 -// Dailymotion  
4 -//  
5 -// Created by Olivier Poitrey on 18/09/09.  
6 -// Copyright 2009 Dailymotion. All rights reserved.  
7 -// 1 +/*
  2 + * This file is part of the DMWebImage package.
  3 + * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
  4 + *
  5 + * For the full copyright and license information, please view the LICENSE
  6 + * file that was distributed with this source code.
  7 + */
8 8
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
@@ -32,4 +32,4 @@ @@ -32,4 +32,4 @@
32 32
33 - (id)initWithURL:(NSURL *)url delegate:(DMWebImageView *)delegate; 33 - (id)initWithURL:(NSURL *)url delegate:(DMWebImageView *)delegate;
34 34
35 -@end  
  35 +@end
1 -//  
2 -// DMWebImageView.m  
3 -// Dailymotion  
4 -//  
5 -// Created by Olivier Poitrey on 18/09/09.  
6 -// Copyright 2009 Dailymotion. All rights reserved.  
7 -// 1 +/*
  2 + * This file is part of the DMWebImage package.
  3 + * (c) Dailymotion - Olivier Poitrey <rs@dailymotion.com>
  4 + *
  5 + * For the full copyright and license information, please view the LICENSE
  6 + * file that was distributed with this source code.
  7 + */
8 8
9 #import "DMWebImageView.h" 9 #import "DMWebImageView.h"
10 #import "DMImageCache.h" 10 #import "DMImageCache.h"
@@ -135,4 +135,4 @@ static NSOperationQueue *cacheInQueue; @@ -135,4 +135,4 @@ static NSOperationQueue *cacheInQueue;
135 [image release]; 135 [image release];
136 } 136 }
137 137
138 -@end  
  138 +@end
  1 +Copyright (c) 2009 Dailymotion - Olivier Poitrey <rs@dailymotion.com>
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is furnished
  8 +to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in all
  11 +copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
  20 +