os/graphics/graphicscomposition/openwfcompositionengine/adaptation/include/owfextensions.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * 
     3  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * copy of this software and/or associated documentation files (the
     5  * "Materials"), to deal in the Materials without restriction, including
     6  * without limitation the rights to use, copy, modify, merge, publish,
     7  * distribute, sublicense, and/or sell copies of the Materials, and to
     8  * permit persons to whom the Materials are furnished to do so, subject to
     9  * the following conditions:
    10  * 
    11  * The above copyright notice and this permission notice shall be included
    12  * in all copies or substantial portions of the Materials.
    13  * 
    14  * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    17  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    18  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    19  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    20  * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    21  */
    22 #ifndef OWFEXTENSIONS_H_
    23 #define OWFEXTENSIONS_H_
    24 
    25 #ifdef __cplusplus
    26 extern "C"
    27 {
    28 #endif
    29 
    30 #define WFC_VENDOR_INDEX        (0)
    31 #define WFC_RENDERER_INDEX      (1)
    32 #define WFC_VERSION_INDEX       (2)
    33 
    34 /*
    35  * Holds list of general strings, according to the indices above.
    36  */
    37 extern const char *wfc_strings[];
    38 
    39 /*
    40  * Holds list of extension names, terminated with a NULL.
    41  */
    42 extern const char *wfc_extensions[];
    43 
    44 #ifdef __cplusplus
    45 }
    46 #endif
    47 
    48 #endif