sl@0: /* sl@0: * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef __LIBOIL_WSD_SOLUTION_H__ sl@0: #define __LIBOIL_WSD_SOLUTION_H__ sl@0: #include "liboil_wsd_macro.h" sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: sl@0: sl@0: #if EMULATOR sl@0: #ifdef __cplusplus sl@0: extern "C" sl@0: { sl@0: #endif sl@0: sl@0: typedef struct ShutdownClosure ShutdownClosure; sl@0: sl@0: /** sl@0: * This struct represents a function to be called on shutdown. sl@0: */ sl@0: struct ShutdownClosure sl@0: { sl@0: ShutdownClosure *next; /**< Next ShutdownClosure */ sl@0: // DBusShutdownFunction func; /**< Function to call */ sl@0: void *data; /**< Data for function */ sl@0: }; sl@0: sl@0: struct liboil_global_struct sl@0: { sl@0: sl@0: // VARIABLE_DECL(buffers,g,gstcheck,GList*) sl@0: VARIABLE_DECL(_class,g,abs_f32_f32,OilFunctionClass) sl@0: /*END-global vars*/ sl@0: }; sl@0: sl@0: struct liboil_global_struct *liboil_ImpurePtr(); sl@0: int liboil_Init(struct liboil_global_struct *); sl@0: sl@0: #ifdef __cplusplus sl@0: } sl@0: #endif sl@0: sl@0: #endif //EMULATOR sl@0: #endif //__LIBOIL_WSD_SOLUTION_H__ sl@0: