localisation/apparchitecture/apserv/APSSCAN.CPP
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 // AppArc recognizer and application scanning
    14 // AppArc recognizer and application scanning
    15 // 
    15 // 
    16 //
    16 // apsscan.cpp
    17 
    17 //
       
    18 
       
    19 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    20 #if !defined(__APA_INTERNAL_H__)
       
    21 #include "apainternal.h"
       
    22 #endif
       
    23 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    18 #include "APSSCAN.H"
    24 #include "APSSCAN.H"
    19 #ifdef USING_ECOM_RECOGS
       
    20 #include <ecom/ecom.h>
    25 #include <ecom/ecom.h>
    21 #endif
       
    22 
    26 
    23 class CApaFsMonitor::CApaFsNotifier : public CActive
    27 class CApaFsMonitor::CApaFsNotifier : public CActive
    24 	{
    28 	{
    25 public:
    29 public:
    26 	~CApaFsNotifier();
    30 	~CApaFsNotifier();
   255 	else
   259 	else
   256 		self->iFsTimer->Cancel();
   260 		self->iFsTimer->Cancel();
   257 	return KErrNone;
   261 	return KErrNone;
   258 	}
   262 	}
   259 
   263 
   260 
       
   261 #ifdef USING_ECOM_RECOGS
       
   262 //
   264 //
   263 // CApaEComMonitor class
   265 // CApaEComMonitor class
   264 //
   266 //
   265 CApaEComMonitor::CApaEComMonitor(TCallBack aCallBack)
   267 CApaEComMonitor::CApaEComMonitor(TCallBack aCallBack)
   266 	: CActive(EPriorityIdle), iCallBack (aCallBack)
   268 	: CActive(EPriorityIdle), iCallBack (aCallBack)
   338 			iEComTimer->Start(KApaEComMonitorPause,KApaEComMonitorPeriod,TCallBack(TimerCallBack,this));
   340 			iEComTimer->Start(KApaEComMonitorPause,KApaEComMonitorPeriod,TCallBack(TimerCallBack,this));
   339 			}
   341 			}
   340 		}
   342 		}
   341 	}
   343 	}
   342 
   344 
   343 #endif
   345