usbengines/usbotgwatcher/src/cusbstate.cpp
changeset 1 705ec7b86991
parent 0 1e05558e2206
child 13 7068aba64af5
child 25 8c311f9acc5e
--- a/usbengines/usbotgwatcher/src/cusbstate.cpp	Thu Dec 17 09:14:30 2009 +0200
+++ b/usbengines/usbotgwatcher/src/cusbstate.cpp	Thu Jan 07 13:25:34 2010 +0200
@@ -42,6 +42,37 @@
 // 
 // ---------------------------------------------------------------------------
 //
+CUsbState* CUsbState::NewL(CUsbOtgWatcher* aWatcher)
+    {
+    CUsbState* self = new (ELeave) CUsbState(aWatcher);
+    CleanupStack::PushL(self);
+    self->ConstructL();
+    CleanupStack::Pop(self);
+    return self;
+    }
+
+// ---------------------------------------------------------------------------
+// 
+// ---------------------------------------------------------------------------
+//
+void CUsbState::ConstructL()
+    {
+
+    }
+
+// ---------------------------------------------------------------------------
+// 
+// ---------------------------------------------------------------------------
+//
+TUsbStateIds CUsbState::Id()
+    {
+    return EUsbStateUndefined;
+    }
+
+// ---------------------------------------------------------------------------
+// 
+// ---------------------------------------------------------------------------
+//
 void CUsbState::JustAdvancedToThisStateL()
     {
     }