Jamoma API  0.6.0.a19
NetworkLib.cpp
1 /*
2  * NetworkLib -- Send/Receive/Browse/etc.
3  * Extension Class for Jamoma Foundation
4  * Copyright © 2010, Timothy Place
5  *
6  * License: This code is licensed under the terms of the "New BSD License"
7  * http://creativecommons.org/licenses/BSD/
8  */
9 
10 #include "TTFoundationAPI.h"
11 
12 #ifndef TT_PLATFORM_WIN
13 #include "TTNetReceive.h"
14 #include "TTNetSend.h"
15 #endif
16 
17 #include "TTOscReceive.h"
18 #include "TTOscSend.h"
19 
20 #ifndef __ANDROID_API__
21 #include "TTWebReceive.h"
22 #include "TTWebSend.h"
23 #endif
24 
25 
26 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_NetworkLib(void)
27 {
28  TTFoundationInit();
29 
30 #ifndef TT_PLATFORM_WIN
31  TTNetReceive::registerClass();
32  TTNetSend::registerClass();
33 #endif
34 
35  TTOscReceive::registerClass();
36  TTOscSend::registerClass();
37 
38 
39 #ifndef __ANDROID_API__
40  TTWebReceive::registerClass();
41  TTWebSend::registerClass();
42 #endif
43 
44  return kTTErrNone;
45 }
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
No Error.
Definition: TTBase.h:343