From d57e98e47c5f178a36b84b08bdead8b623322b01 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 9 Sep 2012 00:43:58 +0000 Subject: Rename private API header. --- .../PostgresKit/Source/FLXPostgresConnection.m | 2 +- .../Source/FLXPostgresConnectionEncoding.m | 2 +- .../Source/FLXPostgresConnectionParameters.m | 2 +- .../Source/FLXPostgresConnectionPrivateAPI.h | 45 ---------------------- .../Source/FLXPostgresConnectionPrivateAPI.m | 29 -------------- .../Source/FLXPostgresConnectionQueryExecution.m | 2 +- .../Source/FLXPostgresConnectionQueryPreparation.m | 2 +- .../PostgresKit/Source/FLXPostgresKitPrivateAPI.h | 45 ++++++++++++++++++++++ Frameworks/PostgresKit/Source/FLXTimeInterval.m | 2 +- 9 files changed, 51 insertions(+), 80 deletions(-) delete mode 100644 Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.h delete mode 100644 Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.m create mode 100644 Frameworks/PostgresKit/Source/FLXPostgresKitPrivateAPI.h (limited to 'Frameworks') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m index d5d06c0f..b3a3918b 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.m @@ -23,7 +23,7 @@ #import "FLXPostgresConnection.h" #import "FLXPostgresConnectionParameters.h" #import "FLXPostgresConnectionTypeHandling.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" #import "FLXPostgresTypeHandlerProtocol.h" #import "FLXPostgresTypeNumberHandler.h" #import "FLXPostgresTypeStringHandler.h" diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m index ddecee64..a58de60b 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionEncoding.m @@ -29,7 +29,7 @@ // OTHER DEALINGS IN THE SOFTWARE. #import "FLXPostgresConnectionEncoding.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" @implementation FLXPostgresConnection (FLXPostgresConnectionEncoding) diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m index f1161f89..ce730513 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m @@ -29,7 +29,7 @@ // OTHER DEALINGS IN THE SOFTWARE. #import "FLXPostgresConnectionParameters.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" #import "FLXPostgresConnection.h" @interface FLXPostgresConnectionParameters () diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.h b/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.h deleted file mode 100644 index c00f040a..00000000 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// $Id$ -// -// FLXPostgresConnectionPrivateAPI.h -// PostgresKit -// -// Copyright (c) 2008-2009 David Thorpe, djt@mutablelogic.com -// -// Forked by the Sequel Pro Team on July 22, 2012. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy of -// the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. - -#import "FLXPostgresConnection.h" -#import "FLXTimeInterval.h" - -@interface FLXPostgresConnection () - -- (PGconn *)postgresConnection; - -@end - -@interface FLXPostgresConnection (FLXPostgresConnectionQueryPreparationPrivateAPI) - -- (BOOL)_prepare:(FLXPostgresStatement *)statement num:(NSInteger)paramNum types:(FLXPostgresOid *)paramTypes; - -@end - -@interface FLXTimeInterval () - -- (id)initWithInterval:(const PGinterval *)interval; - -@end - - - diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.m deleted file mode 100644 index 52610305..00000000 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionPrivateAPI.m +++ /dev/null @@ -1,29 +0,0 @@ -// -// FLXPostgresConnectionPrivateAPI.m -// PostgresKit -// -// Copyright (c) 2008-2009 David Thorpe, djt@mutablelogic.com -// -// Forked by the Sequel Pro Team on July 22, 2012. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy of -// the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. - -#import "FLXPostgresConnectionPrivateAPI.h" -#import "FLXPostgresConnectionDelegateProtocol.h" -#import "FLXPostgresResult.h" - -@implementation FLXPostgresConnection (FLXPostgresConnectionPrivateAPI) - - - -@end diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m index 7a220816..a58d6219 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m @@ -21,7 +21,7 @@ // the License. #import "FLXPostgresConnectionQueryExecution.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" #import "FLXPostgresConnectionTypeHandling.h" #import "FLXPostgresConnectionDelegate.h" #import "FLXPostgresTypeHandlerProtocol.h" diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m index deeefc1a..5d99fd8c 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m @@ -22,7 +22,7 @@ #import "FLXPostgresConnectionQueryPreparation.h" #import "FLXPostgresConnectionTypeHandling.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" #import "FLXPostgresStatement.h" #import "FLXPostgresException.h" diff --git a/Frameworks/PostgresKit/Source/FLXPostgresKitPrivateAPI.h b/Frameworks/PostgresKit/Source/FLXPostgresKitPrivateAPI.h new file mode 100644 index 00000000..174b8018 --- /dev/null +++ b/Frameworks/PostgresKit/Source/FLXPostgresKitPrivateAPI.h @@ -0,0 +1,45 @@ +// +// $Id$ +// +// FLXPostgresConnectionKitAPI.h +// PostgresKit +// +// Copyright (c) 2008-2009 David Thorpe, djt@mutablelogic.com +// +// Forked by the Sequel Pro Team on July 22, 2012. +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + +#import "FLXPostgresConnection.h" +#import "FLXTimeInterval.h" + +@interface FLXPostgresConnection () + +- (PGconn *)postgresConnection; + +@end + +@interface FLXPostgresConnection (FLXPostgresConnectionQueryPreparationPrivateAPI) + +- (BOOL)_prepare:(FLXPostgresStatement *)statement num:(NSInteger)paramNum types:(FLXPostgresOid *)paramTypes; + +@end + +@interface FLXTimeInterval () + +- (id)initWithInterval:(const PGinterval *)interval; + +@end + + + diff --git a/Frameworks/PostgresKit/Source/FLXTimeInterval.m b/Frameworks/PostgresKit/Source/FLXTimeInterval.m index 2b677a2c..48f8cbd4 100644 --- a/Frameworks/PostgresKit/Source/FLXTimeInterval.m +++ b/Frameworks/PostgresKit/Source/FLXTimeInterval.m @@ -29,7 +29,7 @@ // OTHER DEALINGS IN THE SOFTWARE. #import "FLXTimeInterval.h" -#import "FLXPostgresConnectionPrivateAPI.h" +#import "FLXPostgresKitPrivateAPI.h" @implementation FLXTimeInterval -- cgit v1.2.3