diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-02 11:29:37 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-02 11:29:37 +0000 |
commit | 8bb2ecb06d7e994b4b5c94af831fb02c465ecb49 (patch) | |
tree | daf006ab1fcc27244ae19cf4816d61756cab84ad /pjlib/include | |
parent | 67ecaf91d4e3383af948d75df8164436c7116bbc (diff) |
PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r-- | pjlib/include/pj/compat/os_symbian.h | 2 | ||||
-rw-r--r-- | pjlib/include/pj/config_site_sample.h | 12 | ||||
-rw-r--r-- | pjlib/include/pj/except.h | 7 | ||||
-rw-r--r-- | pjlib/include/pj/pool_buf.h | 3 |
4 files changed, 24 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_symbian.h b/pjlib/include/pj/compat/os_symbian.h index 51d78eb6..2871fe0a 100644 --- a/pjlib/include/pj/compat/os_symbian.h +++ b/pjlib/include/pj/compat/os_symbian.h @@ -145,6 +145,7 @@ typedef unsigned int socklen_t; #include <e32def.h> +/* #if defined(PJ_EXPORTING) # define PJ_EXPORT_IMPORT EXPORT_C #elif defined(PJ_IMPORTING) @@ -152,6 +153,7 @@ typedef unsigned int socklen_t; #else # error "Must define either PJ_EXPORTING or PJ_IMPORTING" #endif +*/ #endif /* __PJ_COMPAT_OS_SYMBIAN_H__ */ diff --git a/pjlib/include/pj/config_site_sample.h b/pjlib/include/pj/config_site_sample.h index da67ca85..c4821de4 100644 --- a/pjlib/include/pj/config_site_sample.h +++ b/pjlib/include/pj/config_site_sample.h @@ -30,7 +30,19 @@ * Typical configuration for Symbian OS target */ #if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 + +# undef PJ_HAS_FLOATING_POINT +# define PJ_HAS_FLOATING_POINT 0 + # define PJMEDIA_SOUND_IMPLEMENTATION PJMEDIA_SOUND_NULL_SOUND +# define PJMEDIA_HAS_LIBRESAMPLE 0 +# define PJMEDIA_HAS_SPEEX_AEC 0 + +# define PJMEDIA_HAS_L16_CODEC 0 +# define PJMEDIA_HAS_GSM_CODEC 0 +# define PJMEDIA_HAS_ILBC_CODEC 0 +# define PJMEDIA_HAS_SPEEX_CODEC 0 + #endif diff --git a/pjlib/include/pj/except.h b/pjlib/include/pj/except.h index 2f1f9ddd..610f4626 100644 --- a/pjlib/include/pj/except.h +++ b/pjlib/include/pj/except.h @@ -245,6 +245,11 @@ pj_throw_exception_(pj_exception_id_t id) PJ_ATTR_NORETURN ** ****************************************************************************/ +/* To include this file, the source file must be compiled as + * C++ code! + */ +#ifdef __cplusplus + class TPjException { public: @@ -260,6 +265,8 @@ public: while (0) #define PJ_GET_EXCEPTION() pj_excp_.code_ +#endif /* __cplusplus */ + #else /***************************************************************************** ** diff --git a/pjlib/include/pj/pool_buf.h b/pjlib/include/pj/pool_buf.h index 92af2d2b..e50ee080 100644 --- a/pjlib/include/pj/pool_buf.h +++ b/pjlib/include/pj/pool_buf.h @@ -70,6 +70,7 @@ * @{ */ +PJ_BEGIN_DECL /** * Create the pool using the specified buffer as the pool's memory. @@ -93,6 +94,8 @@ PJ_DECL(pj_pool_t*) pj_pool_create_on_buf(const char *name, void *buf, pj_size_t size); +PJ_END_DECL + /** * @} */ |