diff -r 18fa9327a158 -r e3cdd00b5ae3 camappengine/Engine/Inc/CaeCommon.h --- a/camappengine/Engine/Inc/CaeCommon.h Thu Aug 19 10:05:54 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,103 +0,0 @@ -/* -* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Common definitions -* -*/ - - - -#ifndef CAECOMMON_H -#define CAECOMMON_H - -// INCLUDES - -#include - -// CONSTANTS - -enum TCaeExtensionInterfaceIndexes - { - KCaeExtProcessImageInterfaceIndex = 0, - KCaeExtSettingsInterfaceIndex = 1 - }; - -// Supported extension interfaces -// The order of this array must match to TCaeExtensionInterfaceIndexes. -const TUid KCaeSupportedExtensionInterfaceUids[] = - { - { KCaeExtProcessImageInterfaceUidValue }, - { KCaeExtSettingsInterfaceUidValue } , - { NULL } // End mark - }; - -// Supported callback interfaces -const TUid KCaeSupportedCallbackInterfaceUids[] = - { - { KCaeExtEngineInfoCallbackInterfaceUidValue }, - { NULL } // End mark - }; - -// Extension list granularity -const TInt TCaeExtensionInterfaceImplItemGranularity = 10; - -// CLASS DECLARATIONS - -/** -* Struct for the extension interface implementation array item. -*/ - -struct TCaeExtensionInterfaceImplItem - { - // Priority of the specific implementation - TInt iInitialPriority; - - // Uid of the specific implementation - TUid iImplUid; - - // Pointer to the specific implementation - TAny* iImplPtr; - - // Set to ETrue when image processing is enabled - TBool iIsActive; - }; - -/** -* Struct for the extension interface implementation array item. -*/ - -struct TCaeExtensionInterfaceImplListItem - { - // Uid of the interface - TUid iInterfaceUid; - - // List of implementations - RArray* iImplementations; - }; - -/** -* Struct for the custom interface implementation array item. -*/ - -struct TCaeCustomInterfaceImplItem - { - // Uid of the custom interface that is implemented by the extension - TUid iInterfaceUid; - - // Pointer to the implementation - TAny* iImplPtr; - }; - - - -#endif // CAECOMMON_H \ No newline at end of file