sysresmonitoring/oodmonitor/inc/Ood.h
changeset 77 b01c07dfcf84
parent 21 c4cbaa4fb734
--- a/sysresmonitoring/oodmonitor/inc/Ood.h	Wed Sep 29 15:24:56 2010 +0300
+++ b/sysresmonitoring/oodmonitor/inc/Ood.h	Thu Oct 07 06:25:45 2010 +0300
@@ -35,6 +35,9 @@
 const TInt KMaxMsgSize = 256;
 #endif // _DEBUG
 
+#ifdef FCC_UNIT_TEST
+class Tut_LafShutdownManager;
+#endif
 // ---------------------------------------------------------
 //
 // ---------------------------------------------------------
@@ -45,7 +48,12 @@
     static CLafShutdownManager* NewL(MShutdownEventObserver& aObserver);
     ~CLafShutdownManager();
 
-private:
+#ifdef FCC_UNIT_TEST
+    public:
+#else              
+    private:
+#endif
+
 
     // ======================================================================
     // Out of disk watcher
@@ -101,7 +109,12 @@
             void ConstructL(RResourceFile& aResFile, TResourceReader& aResReader);
             void CleanupL(TBool aCancel = ETrue);
 
+#ifdef FCC_UNIT_TEST
+        public:
+#else              
         private:
+#endif
+            
             class CMessageInfo : public CBase
                 {
                 public:
@@ -117,7 +130,9 @@
             TMessageType    iMessageType;
             CMessageInfo*   iMessageInfo[4];
         
-        
+#ifdef FCC_UNIT_TEST
+    friend class Tut_LafShutdownManager;
+#endif          
         };
 
     // ======================================================================
@@ -181,6 +196,10 @@
 
 private:
     friend class CLafShutdownManager::COutOfDiskWatcher;
+
+#ifdef FCC_UNIT_TEST
+    friend class Tut_LafShutdownManager;
+#endif    
     };
 
 #endif LAFSHUT_H
\ No newline at end of file