summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua_wince/newres.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-01 23:09:35 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-01 23:09:35 +0000
commit6d4d05a0b62d4d7be91f807943009f2ec57c2421 (patch)
tree6ea501c02648284af70332d99e493d3789a64dc4 /pjsip-apps/src/pjsua_wince/newres.h
parentdfeb62c4ba214a74fc7464743bac71d78f120fbb (diff)
Added simple WinCE application:
- added pjsua_wince in pjsip-apps, which is a simple SIP UA application just to broadly test pjsip/pjmedia on WinCE. - Fix name conflicts in xpidf.c (e.g. ATOM variable conflicts with ATOM type in WinCE SDK). - Fix speex compilation errors on Wince (e.g. inline keyword is not recognized, replaced with PJ_INLINE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsua_wince/newres.h')
-rw-r--r--pjsip-apps/src/pjsua_wince/newres.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua_wince/newres.h b/pjsip-apps/src/pjsua_wince/newres.h
new file mode 100644
index 00000000..ac5edb7b
--- /dev/null
+++ b/pjsip-apps/src/pjsua_wince/newres.h
@@ -0,0 +1,39 @@
+#ifndef __NEWRES_H__
+#define __NEWRES_H__
+
+#if !defined(UNDER_CE)
+ #define UNDER_CE _WIN32_WCE
+#endif
+
+#if defined(_WIN32_WCE)
+ #if !defined(WCEOLE_ENABLE_DIALOGEX)
+ #define DIALOGEX DIALOG DISCARDABLE
+ #endif
+ #include <commctrl.h>
+ #define SHMENUBAR RCDATA
+ #if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300)
+ #include <aygshell.h>
+ #else
+ #define I_IMAGENONE (-2)
+ #define NOMENU 0xFFFF
+ #define IDS_SHNEW 1
+
+ #define IDM_SHAREDNEW 10
+ #define IDM_SHAREDNEWDEFAULT 11
+ #endif
+#endif // _WIN32_WCE
+
+
+#ifdef RC_INVOKED
+#ifndef _INC_WINDOWS
+#define _INC_WINDOWS
+ #include "winuser.h" // extract from windows header
+#endif
+#endif
+
+#ifdef IDC_STATIC
+#undef IDC_STATIC
+#endif
+#define IDC_STATIC (-1)
+
+#endif //__NEWRES_H__