Add licensing information

This commit is contained in:
Olivier Poitrey 2009-09-19 22:24:03 +02:00
parent 37258addc2
commit 89b45c3f85
5 changed files with 50 additions and 30 deletions

View File

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

View File

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

View File

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

View File

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

20
LICENSE Normal file
View File

@ -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.