ObjPgSQL  Check-in [86adc6aab9]

Overview
Comment:Install all headers into one place.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 86adc6aab9e6ef2189e3f6f015aa53341dd840aa1589c8218531b312754dd72f
User & Date: js 2012-10-05 21:26:23
Context
2012-10-06
21:02
Add -[insertRows:intoTable:]. check-in: 7b335b3af8 user: js tags: trunk
2012-10-05
21:26
Install all headers into one place. check-in: 86adc6aab9 user: js tags: trunk
21:19
Add Xcode project. check-in: cf2fe18597 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
		test.m

clean:
	rm -f test libobjpgsql.* exceptions/*~ *~
	rm -fr build

install:
	mkdir -p ${destdir}${prefix}/include/ObjPgSQL/exceptions
	for i in ${HEADERS}; do \
		${INSTALL} -m 644 $$i \
			${destdir}${prefix}/include/ObjPgSQL/$$i; \
	done
	mkdir -p ${destdir}${prefix}/lib
	export LIB_MAJOR=${LIB_MAJOR}; \
	export LIB_MINOR=${LIB_MINOR}; \
	${INSTALL} -m 755 ${LIB_FILE} ${destdir}${prefix}/lib/${LIB_FILE}







|


|





44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
		test.m

clean:
	rm -f test libobjpgsql.* exceptions/*~ *~
	rm -fr build

install:
	mkdir -p ${destdir}${prefix}/include/ObjPgSQL
	for i in ${HEADERS}; do \
		${INSTALL} -m 644 $$i \
			${destdir}${prefix}/include/ObjPgSQL/$$(basename $$i); \
	done
	mkdir -p ${destdir}${prefix}/lib
	export LIB_MAJOR=${LIB_MAJOR}; \
	export LIB_MINOR=${LIB_MINOR}; \
	${INSTALL} -m 755 ${LIB_FILE} ${destdir}${prefix}/lib/${LIB_FILE}

Changes to ObjPgSQL.h.

1
2
3


4
5
6
#import "PGConnection.h"
#import "PGResult.h"
#import "PGResultRow.h"


#import "exceptions/PGCommandFailedException.h"
#import "exceptions/PGConnectionFailedException.h"
#import "exceptions/PGException.h"
|
|
|
>
>
|
|
<
1
2
3
4
5
6
7

#import "PGResult.h"
#import "PGResultRow.h"
#import "PGConnection.h"

#import "PGException.h"
#import "PGCommandFailedException.h"
#import "PGConnectionFailedException.h"

Changes to exceptions/PGException.h.

1
2
3
4
5
6
7
8
9
10
#import <ObjFW/ObjFW.h>

#import "../PGConnection.h"

@interface PGException: OFException
{
	PGConnection *connection;
}

#ifdef OF_HAVE_PROPERTIES


|







1
2
3
4
5
6
7
8
9
10
#import <ObjFW/ObjFW.h>

#import "PGConnection.h"

@interface PGException: OFException
{
	PGConnection *connection;
}

#ifdef OF_HAVE_PROPERTIES