ObjPgSQL  Check-in [9b7427552b]

Overview
Comment:Add ObjPgSQL.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9b7427552b063b5db36fdc636befa1e018afc3fb9622e8bfce6888ae5aa5d72e
User & Date: js on 2012-10-03 16:08:17
Other Links: manifest | tags
Context
2012-10-04
22:18
Exclude fields that are NULL from the result. check-in: 6d068f6ae7 user: js tags: trunk
2012-10-03
16:08
Add ObjPgSQL.h. check-in: 9b7427552b user: js tags: trunk
16:04
Add "make install". check-in: 58715a7dc6 user: js tags: trunk
Changes

Modified .gitignore from [0204c8019a] to [988e7455dc].

1

2
3
4
5
1
2
3
4
5
6

+




build
test
*.dll
*.dylib
*.so
*~

Modified Makefile from [b6aad65bed] to [796e46f897].

1
2
3
4
5
6
7
8
9
10

11


12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
19
20










+
-
+
+







LIB = objpgsql
LIB_MAJOR = 0
LIB_MINOR = 0

SRCS = PGConnection.m				\
       PGResult.m				\
       PGResultRow.m				\
       exceptions/PGCommandFailedException.m	\
       exceptions/PGConnectionFailedException.m	\
       exceptions/PGException.m

HEADERS = ${SRCS:.m=.h}
HEADERS = ${SRCS:.m=.h}	\
	  ObjPgSQL.h

CPPFLAGS += -Wall -Iexceptions -I.
LIBS += -lpq

prefix ?= /usr/local

INSTALL ?= install

Added ObjPgSQL.h version [fdf4925d77].

Modified exceptions/PGException.h from [adaf1d5292] to [6469b1300a].

1
2
3

4
5
6
7
8
9
10
1
2

3
4
5
6
7
8
9
10


-
+







#import <ObjFW/ObjFW.h>

#import "PGConnection.h"
#import "../PGConnection.h"

@interface PGException: OFException
{
	PGConnection *connection;
}

#ifdef OF_HAVE_PROPERTIES