Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
* Fully enable export of favorite groups
* Favorites can now be imported, sorted even if "Quick Connect" is selected * Favorite files containing groups will now be imported correctly * If a favorite and the group containing said favorite are exported, the favorite will no longer be included twice
- Loading branch information
Showing
with
149 additions
and 20 deletions.
- +3 −2 Source/SPConnectionController.m
- +7 −5 Source/SPConnectionControllerDelegate.m
- +2 −1 Source/SPFavoriteNode.h
- +7 −1 Source/SPFavoriteNode.m
- +34 −6 Source/SPFavoritesController.m
- +4 −1 Source/SPFavoritesExporter.m
- +4 −1 Source/SPGroupNode.h
- +15 −0 Source/SPGroupNode.m
- +37 −0 Source/SPNamedNode.h
- +1 −0 Source/SPTreeNode.h
- +33 −3 Source/SPTreeNode.m
- +2 −0 sequel-pro.xcodeproj/project.pbxproj
@@ -0,0 +1,37 @@ | ||
// | ||
// SPNamedNode.h | ||
// sequel-pro | ||
// | ||
// Created by Max Lohrmann on 11.05.15. | ||
// Copyright (c) 2015 Max Lohrmann. All rights reserved. | ||
// | ||
// 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. | ||
// | ||
// More info at <https://github.com/sequelpro/sequelpro> | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@protocol SPNamedNode <NSObject> | ||
|
||
- (NSString *)nodeName; | ||
|
||
@end |