ObjXMPP  Check-in [ca4f45a402]

Overview
Comment:Make it compile.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ca4f45a402f9851426874d63a3335fa65b0158b1b853015f36cdf45df1cf582f
User & Date: js on 2011-02-16 19:23:53
Other Links: manifest | tags
Context
2011-02-16
19:32
Use one file per class. check-in: 28c341cb47 user: js tags: trunk
19:23
Make it compile. check-in: ca4f45a402 user: js tags: trunk
2011-02-15
02:52
Perform SASLPrep on the username and Resourceprep on the resource check-in: ea9006fa33 user: florob@babelmonkeys.de tags: trunk
Changes

Modified Makefile from [7c1f7cb9e3] to [7a7c8739bf].

1
2
3
4
5
6

7
all: tests/tests

tests/tests: tests/test.m src/XMPPConnection.m src/XMPPStanza.m src/XMPPJID.m
	objfw-compile -o $@ $^ -lidn -Wall -Werror -Isrc

clean:

	rm -f src/*.o tests/*.o tests/tests
|
|
|
<


>
|
1
2
3

4
5
6
7
all:
	cd src && ${MAKE} ${MFLAGS}
	cd tests && ${MAKE} ${MFLAGS}


clean:
	cd src && ${MAKE} ${MFLAGS} clean
	cd tests && ${MAKE} ${MFLAGS} clean

Added src/Makefile version [e281641b8e].













>
>
>
>
>
>
1
2
3
4
5
6
all:
	objfw-compile --lib 0.0 -o objxmpp *.m \
		`pkg-config --cflags --libs libidn`

clean:
	rm -f *.o *.so *.dylib *.dll

Modified src/XMPPConnection.h from [b512794cc3] to [3f7778add9].

1

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

#import <XMPPJID.h>

@class XMPPConnection;
@class XMPPIQ;
@class XMPPMessage;
@class XMPPPresence;

@protocol XMPPConnectionDelegate

>
|







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

#import "XMPPJID.h"

@class XMPPConnection;
@class XMPPIQ;
@class XMPPMessage;
@class XMPPPresence;

@protocol XMPPConnectionDelegate

Added tests/Makefile version [a565c70a3c].











>
>
>
>
>
1
2
3
4
5
all:
	objfw-compile -o tests *.m -I../src -L../src -lobjxmpp

clean:
	rm -f tests *.o

Modified tests/test.m from [3f14c4e76b] to [2270757ce5].

1

2

3
4
5
6
7
8
9
#include <assert.h>

#import <ObjFW/ObjFW.h>

#import "XMPPConnection.h"
#import "XMPPStanza.h"

@interface AppDelegate: OFObject
{
	XMPPConnection *conn;
}

>

>







1
2
3
4
5
6
7
8
9
10
11
#include <assert.h>

#import <ObjFW/ObjFW.h>

#import "XMPPConnection.h"
#import "XMPPStanza.h"

@interface AppDelegate: OFObject
{
	XMPPConnection *conn;
}