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 2012-10-03 16:08:17
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
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to .gitignore.

1

2
3
4
5
build

*.dll
*.dylib
*.so
*~

>




1
2
3
4
5
6
build
test
*.dll
*.dylib
*.so
*~

Changes to Makefile.

1
2
3
4
5
6
7
8
9
10

11

12
13
14
15
16
17
18
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}


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

prefix ?= /usr/local

INSTALL ?= install










>
|
>







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}	\
	  ObjPgSQL.h

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

prefix ?= /usr/local

INSTALL ?= install

Added 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"

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