~guijemont/paf/api-fixing

« back to all changes in this revision

Viewing changes to paf/pafkeyvalue.c

  • Committer: Guillaume Emont
  • Date: 2008-05-20 17:52:01 UTC
  • Revision ID: guillaume@fluendo.com-20080520175201-4shb094qyy65dxcl
Made more changes to reflect the API tweaks. Almost complete, but may not
compile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vi:expandtab:ts=4:sw=4:cindent:tw=80:cinoptions=(0,u0,t0
 
2
 *
 
3
 * PAF Animation Framework - Interpolation - key values
 
4
 *
 
5
 * Copyright © 2008 Fluendo Embedded S.L.
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2.1 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Lesser General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 *
 
22
 * Author(s): Guillaume Emont <guillaume@fluendo.com>
 
23
 */
 
24
 
 
25
/**
 
26
 * SECTION:pafkeyvalue
 
27
 * @short_description: FIXME
 
28
 * @see_also: #PafInterpolation
 
29
 *
 
30
 * <refsect2>
 
31
 * FIXME
 
32
 * </refsect2>
 
33
 */
 
34
 
 
35
#include "pafkeyvalue.h"
 
36
 
 
37
GType
 
38
paf_key_value_get_type (void)
 
39
{
 
40
    static GType our_type = 0;
 
41
 
 
42
    if (G_UNLIKELY (!our_type))
 
43
        our_type =
 
44
            g_boxed_type_register_static ("PafKeyValue",
 
45
                                          (GBoxedCopyFunc) paf_key_value_copy,
 
46
                                          (GBoxedFreeFunc) paf_key_value_free);
 
47
 
 
48
    return our_type;
 
49
}
 
50
 
 
51
PafKeyValue *
 
52
paf_key_value_new (gfloat source,
 
53
                   GValue *value,
 
54
                   gpointer options)
 
55
{
 
56
    return NULL;
 
57
}
 
58
 
 
59
PafKeyValue *
 
60
paf_key_value_copy (PafKeyValue *value)
 
61
{
 
62
    return NULL;
 
63
}
 
64
 
 
65
void
 
66
paf_key_value_free (PafKeyValue *value)
 
67
{
 
68
}
 
69