radioengine/utils/src/cradioaccessoryobserver.cpp
changeset 39 ac7857bd5fdb
parent 38 f8c3d4e6102c
child 57 21be958eb3ce
--- a/radioengine/utils/src/cradioaccessoryobserver.cpp	Fri Jul 23 10:16:59 2010 +0300
+++ b/radioengine/utils/src/cradioaccessoryobserver.cpp	Fri Aug 06 09:29:48 2010 +0300
@@ -24,15 +24,18 @@
 #include "cradioenginelogger.h"
 
 #ifdef ASW_CORE_AUDIO_PLATFORM_VERSION // Nokia specific adaptation
-#include <accpolpropgenericid.h>
+//#include <accpolpropgenericid.h>
+#include <AccPolGenericIdDefinitions.h>
 
 #ifndef __WINS__
-
-const TUint KPhysicalConnectionBitmask = KPCNokiaAV | KPCWired;
+// See accpolpropgenericid.h definitions KPCNokiaAV == 0x20000,
+// Forced to use hard coded value here to avoid including from epoc32/include/internal
+const TUint KPhysicalConnectionBitmask = 0x20000 | KPCWired;
 
 #else
-
-const TUint KPhysicalConnectionBitmask = 0x20000 | 0x1;
+// See accpolpropgenericid.h definitions KPCNokiaAV == 0x20000, 
+// Forced to use hard coded value here to avoid including from epoc32/include/internal
+const TUint KPhysicalConnectionBitmask = 0x20000 | KPCWired;
 
 #endif // __WINS__