diff options
Diffstat (limited to 'gfbgraph/gfbgraph-node.h')
-rw-r--r-- | gfbgraph/gfbgraph-node.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/gfbgraph/gfbgraph-node.h b/gfbgraph/gfbgraph-node.h index f8fc879..95da121 100644 --- a/gfbgraph/gfbgraph-node.h +++ b/gfbgraph/gfbgraph-node.h @@ -3,18 +3,18 @@ * libgfbgraph - GObject library for Facebook Graph API * Copyright (C) 2013 Álvaro Peña <alvaropg@gmail.com> * - * This library is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * GFBGraph is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * libgfbgraph is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. + * GFBGraph is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU Lesser General Public + * License along with GFBGraph. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __GFBGRAPH_NODE_H__ @@ -46,7 +46,7 @@ struct _GFBGraphNode { }; struct _GFBGraphNodeClass { - GObjectClass parent_class; + GObjectClass parent_class; }; typedef enum { @@ -60,7 +60,14 @@ GFBGraphNode* gfbgraph_node_new (void); GFBGraphNode* gfbgraph_node_new_from_id (GFBGraphAuthorizer *authorizer, const gchar *id, GType node_type, GError **error); -GList* gfbgraph_node_get_connection_nodes (GFBGraphNode *node, +const gchar* gfbgraph_node_get_id (GFBGraphNode *node); +const gchar* gfbgraph_node_get_link (GFBGraphNode *node); +const gchar* gfbgraph_node_get_created_time (GFBGraphNode *node); +const gchar* gfbgraph_node_get_updated_time (GFBGraphNode *node); + +void gfbgraph_node_set_id (GFBGraphNode *node, const gchar *id); + +GList* gfbgraph_node_get_connection_nodes (GFBGraphNode *node, GType node_type, GFBGraphAuthorizer *authorizer, GError **error); |