genericopenlibs/liboil/inc/liboil_wsd_solutions.h
changeset 18 47c74d1534e1
equal deleted inserted replaced
0:e4d67989cc36 18:47c74d1534e1
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17  
       
    18 
       
    19 
       
    20  
       
    21 #ifndef __LIBOIL_WSD_SOLUTION_H__
       
    22 #define __LIBOIL_WSD_SOLUTION_H__
       
    23 #include "liboil_wsd_macro.h"
       
    24 #include <liboil/liboiltypes.h>
       
    25 #include <liboil/liboilfunction.h>
       
    26 #include <stdio.h>
       
    27 
       
    28 
       
    29 
       
    30 #if EMULATOR
       
    31 #ifdef __cplusplus
       
    32 extern "C" 
       
    33 {
       
    34 #endif
       
    35 
       
    36 typedef struct ShutdownClosure ShutdownClosure;
       
    37 
       
    38 /**
       
    39  * This struct represents a function to be called on shutdown.
       
    40  */
       
    41 struct ShutdownClosure
       
    42 {
       
    43   ShutdownClosure *next;     /**< Next ShutdownClosure */
       
    44 //  DBusShutdownFunction func; /**< Function to call */
       
    45   void *data;                /**< Data for function */
       
    46 };
       
    47 
       
    48 struct liboil_global_struct
       
    49 {
       
    50 
       
    51 //      VARIABLE_DECL(buffers,g,gstcheck,GList*)
       
    52         VARIABLE_DECL(_class,g,abs_f32_f32,OilFunctionClass)
       
    53       /*END-global vars*/ 
       
    54     };
       
    55 
       
    56 struct liboil_global_struct *liboil_ImpurePtr();
       
    57 int liboil_Init(struct liboil_global_struct *);
       
    58 
       
    59 #ifdef __cplusplus
       
    60 }
       
    61 #endif
       
    62 
       
    63 #endif //EMULATOR
       
    64 #endif //__LIBOIL_WSD_SOLUTION_H__
       
    65