Fixed header styles and added missing GPL license header

This commit is contained in:
Michael Starke
2018-05-15 15:09:39 +02:00
parent 47fdee7301
commit 2bf10b9463
2 changed files with 17 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
// MPPastBoardController.h
//
// MPPastBoardController.h
// MacPass
//
// Created by Michael Starke on 02.03.13.

View File

@@ -5,6 +5,20 @@
// Created by Michael Starke on 08.03.18.
// Copyright © 2018 HicknHack Software GmbH. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
#import "MPPluginRepositoryItem.h"
@@ -14,6 +28,7 @@ NSString *const MPPluginItemDescriptionKey = @"description";
NSString *const MPPluginItemDownloadURLKey = @"download";
NSString *const MPPluginItemSourceURLKey = @"source";
NSString *const MPPluginItemCurrentVersionKey = @"currentVersion";
NSString *const MPPluginItemBundleIdentifierKey = @"bundleIdentifier";
@interface MPPluginRepositoryItem ()
@@ -42,6 +57,7 @@ NSString *const MPPluginItemCurrentVersionKey = @"currentVersion";
self.downloadURL = [NSURL URLWithString:dict[MPPluginItemDownloadURLKey]];
self.sourceURL = [NSURL URLWithString:dict[MPPluginItemSourceURLKey]];
self.currentVersion = dict[MPPluginItemCurrentVersionKey];
self.bundleIdentifier = dict[MPPluginItemBundleIdentifierKey];
}
return self;
}