Add includes and link to frameworks under apple.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26324 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ratmice 2008-03-16 23:26:10 +00:00
parent 79c1c5d4ea
commit bfcf426c13
6 changed files with 30 additions and 5 deletions

View file

@ -1,3 +1,13 @@
2008-03-16 Matt Rice <ratmice@gmail.com
* EOAdaptors/SQLiteAdaptor/LoginPanel/SQLite3LoginPanel.m,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.h,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m:
Add missing includes.
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile:
Link to Foundation and AppKit frameworks on apple.
2008-03-16 Blake Nicholson <blaken@umich.edu>
* EOAdaptors/SQLiteAdaptor/SQLite3Context.m,

View file

@ -44,7 +44,7 @@ ADDITIONAL_NATIVE_LIBS+=EOAccess EOControl
ADDITIONAL_NATIVE_LIB_DIRS+=../../../EOControl ../../../EOAccess
ifneq ($(FOUNDATION_LIB),gnu)
LoginPanel_OBJC_LIBS += -lgnustep-baseadd
LoginPanel_BUNDLE_LIBS += -lgnustep-baseadd -framework Foundation -framework AppKit
endif
LoginPanel_COPY_INTO_DIR = ../PostgreSQLEOAdaptor.framework/Resources

View file

@ -28,6 +28,13 @@
#include "PostgreSQLChannel.h"
#include "PostgreSQLExpression.h"
@class NSTextField;
@class NSButton;
@class NSImageView;
@class NSComboBox;
@class NSWindow;
@class NSSecureTextField;
@interface PostgreSQLLoginPanel : EOLoginPanel
{
/* gui stuff */

View file

@ -24,20 +24,23 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <EOAccess/EOAccess.h>
#ifndef GNUSTEP
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#include <GNUstepBase/GNUstep.h>
#include <GNUstepBase/GSCategories.h>
#else
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#endif
#include "PostgreSQLLoginPanel.h"
static BOOL insideModalLoop;
static NSString *windowTitle = @"PostgreSQLql login";
static NSString *windowTitle = @"PostgreSQL login";
static NSString *newDatabaseTitle = @"New";
static NSString *userNameTitle = @"Username: ";
static NSString *passwordTitle = @"Password: ";

View file

@ -41,7 +41,7 @@ ADDITIONAL_NATIVE_LIBS+=EOAccess EOControl
ADDITIONAL_NATIVE_LIB_DIRS+=../../../EOControl ../../../EOAccess
ifneq ($(FOUNDATION_LIB),gnu)
LoginPanel_OBJC_LIBS+=-lgnustep-baseadd
LoginPanel_OBJC_LIBS+=-lgnustep-baseadd -framework Foundation -framework AppKit
endif
LoginPanel_COPY_INTO_DIR=../SQLite3EOAdaptor.framework/Resources

View file

@ -28,6 +28,11 @@
#import <AppKit/AppKit.h>
#ifndef GNUSTEP
#include <GNUstepBase/GNUstep.h>
#include <GNUstepBase/GSCategories.h>
#endif
static BOOL insideModalLoop = YES;
@interface SQLite3LoginPanel(Private)