gstreamer_core/gst/gstquark.h
changeset 0 0e761a78d257
child 7 567bb019e3e3
equal deleted inserted replaced
-1:000000000000 0:0e761a78d257
       
     1 /* GStreamer
       
     2  * Copyright (C) 2006 Jan Schmidt <thaytan@noraisin.net>
       
     3  *
       
     4  * gstquark.h: Private header for storing quark info 
       
     5  *
       
     6  * This library is free software; you can redistribute it and/or
       
     7  * modify it under the terms of the GNU Library General Public
       
     8  * License as published by the Free Software Foundation; either
       
     9  * version 2 of the License, or (at your option) any later version.
       
    10  *
       
    11  * This library is distributed in the hope that it will be useful,
       
    12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    14  * Library General Public License for more details.
       
    15  *
       
    16  * You should have received a copy of the GNU Library General Public
       
    17  * License along with this library; if not, write to the
       
    18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    19  * Boston, MA 02111-1307, USA.
       
    20  */
       
    21 
       
    22 #ifndef __GST_QUARK_H__
       
    23 #define __GST_QUARK_H__
       
    24 
       
    25 /* These enums need to match the number and order
       
    26  * of strings declared in _quark_table, in gstquark.c */
       
    27 typedef enum _GstQuarkId
       
    28 {
       
    29   GST_QUARK_FORMAT = 0,
       
    30   GST_QUARK_CURRENT = 1,
       
    31   GST_QUARK_DURATION = 2,
       
    32   GST_QUARK_RATE = 3,
       
    33   GST_QUARK_SEEKABLE = 4,
       
    34   GST_QUARK_SEGMENT_START = 5,
       
    35   GST_QUARK_SEGMENT_END = 6,
       
    36   GST_QUARK_SRC_FORMAT = 7,
       
    37   GST_QUARK_SRC_VALUE = 8,
       
    38   GST_QUARK_DEST_FORMAT = 9,
       
    39   GST_QUARK_DEST_VALUE = 10,
       
    40   GST_QUARK_START_FORMAT = 11,
       
    41   GST_QUARK_START_VALUE = 12,
       
    42   GST_QUARK_STOP_FORMAT = 13,
       
    43   GST_QUARK_STOP_VALUE = 14,
       
    44 
       
    45   GST_QUARK_MAX = 15
       
    46 } GstQuarkId;
       
    47 
       
    48 extern GQuark _priv_gst_quark_table[GST_QUARK_MAX];
       
    49 
       
    50 #define GST_QUARK(q) _priv_gst_quark_table[GST_QUARK_##q]
       
    51 
       
    52 #endif