Update contrib.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #include "definitions.h"
19 ** Connect to the framework.
21 TInt RAppArc::Connect()
27 err = iAppArc.Connect();
39 err = iFs.ShareProtected();
49 // If we get here then an error has occurred.
66 TInt RAppArc::Recognise(RFile& aFile, TDataType& aDataType)
71 return iAppArc.AppForDocument(aFile, uid, aDataType);
77 TInt RAppArc::Recognise(RFile& aFile, TDataRecognitionResult& aResult)
80 return iAppArc.RecognizeData(aFile, aResult);
86 RFs& RAppArc::FileServer()