Catch up from PDK_3.0.h CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 12:52:05 +0000
branchCompilerCompatibility
changeset 19 3346ae8c7c53
parent 17 32e38c512cab (diff)
parent 14 1e6bfc80a381 (current diff)
child 22 0f9f65146510
Catch up from PDK_3.0.h
usbengines/usbwatcher/inc/debug.h
usbuis/usbuinotif/BWINS/usbuinotifu.def
usbuis/usbuinotif/EABI/usbuinotifu.def
--- a/usbclasses/usbphoneasmodem/classimplementation/atplugin/inc/pamengine.h	Sat Feb 27 16:52:41 2010 +0000
+++ b/usbclasses/usbphoneasmodem/classimplementation/atplugin/inc/pamengine.h	Sun Mar 14 12:52:05 2010 +0000
@@ -50,8 +50,8 @@
 	* @param aOwner
 	* @return Instance of CPamEngine
 	*/
-	static CPamEngine* CPamEngine::NewL( CPamPlugin* aOwner );
-						   
+	static CPamEngine* NewL( CPamPlugin* aOwner );
+
 	/**
 	* Two-phased contructor
 	* @param aOwner
--- a/usbengines/usbdevcon/inc/cusbdevcon.h	Sat Feb 27 16:52:41 2010 +0000
+++ b/usbengines/usbdevcon/inc/cusbdevcon.h	Sun Mar 14 12:52:05 2010 +0000
@@ -136,6 +136,8 @@
      */ 
      TInt RunError( TInt /*aError*/ );
 
+    void Destroy();
+
 private: // data
 
     /**
--- a/usbengines/usbdevcon/src/cusbdevcon.cpp	Sat Feb 27 16:52:41 2010 +0000
+++ b/usbengines/usbdevcon/src/cusbdevcon.cpp	Sun Mar 14 12:52:05 2010 +0000
@@ -114,7 +114,7 @@
 // Destruction
 // ---------------------------------------------------------------------------
 //
-CUsbDevCon::~CUsbDevCon()
+void CUsbDevCon::Destroy()
     {
         FLOG( _L( "[USBDEVCON]\tCUsbDevCon::~CUsbDevCon" ) );
         
@@ -152,6 +152,11 @@
     
     }   
 
+CUsbDevCon::~CUsbDevCon()
+    {
+       Destroy();
+    }
+
 // ---------------------------------------------------------------------------
 // Acts accordingly to USB state
 // ---------------------------------------------------------------------------
@@ -261,7 +266,7 @@
         FLOG( _L( "[USBDEVCON]\tCUsbDevCon::RunL Exiting usbdevcon" ) );      
         
         // Shutdown timer is finished, exit program
-        CUsbDevCon:: ~CUsbDevCon(); // destruct resources
+        Destroy(); // destruct resources
         User::Exit(KErrNone);
         }
     }
--- a/usbengines/usbwatcher/inc/debug.h	Sat Feb 27 16:52:41 2010 +0000
+++ b/usbengines/usbwatcher/inc/debug.h	Sun Mar 14 12:52:05 2010 +0000
@@ -109,13 +109,13 @@
 #define LOG( str ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] %s",\
         TUint(RThread().Id()), str  ); }
 
-#define LOG1( s, v ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] "##s ,\
+#define LOG1( s, v ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] " s ,\
         TUint(RThread().Id()), v ); }
 
-#define LOG2( s, v1,v2 ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] "##s , \
+#define LOG2( s, v1,v2 ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] " s , \
         TUint(RThread().Id()), v1, v2 ); }
 
-#define LOG3( s, v1, v2, v3 ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] "##s, \
+#define LOG3( s, v1, v2, v3 ) { RDebug::Printf( "[%08x] ["MODULE_NAME"] " s, \
         TUint(RThread().Id()), v1, v2, v3); }
 
 class TFuncLogger