diff options
| author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-27 20:49:09 +0000 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-27 20:49:09 +0000 |
| commit | c176f70e593c9cfb4901cd9f27ce54b8aa7152f2 (patch) | |
| tree | 45a93b95e4ff88d36af3fa3b838b8484b0365972 /json-glib/json-gobject-private.h | |
| parent | 373fa3d9b73391b38620fbd9ce9b69f358e5f4c8 (diff) | |
| download | json-glib-c176f70e593c9cfb4901cd9f27ce54b8aa7152f2.tar.gz | |
build: Split out GBoxed and Serializable
The json-gobject.c is getting pretty crowded; we should split out
the JsonBoxed API and the JsonSerialized implementation into their
separate source files.
Diffstat (limited to 'json-glib/json-gobject-private.h')
| -rw-r--r-- | json-glib/json-gobject-private.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/json-glib/json-gobject-private.h b/json-glib/json-gobject-private.h new file mode 100644 index 0000000..5369ebf --- /dev/null +++ b/json-glib/json-gobject-private.h @@ -0,0 +1,39 @@ +/* json-gobject-private.h - GObject private + * + * This file is part of JSON-GLib + * Copyright (C) 2007 OpenedHand Ltd + * Copyright (C) 2009 Intel Corp. + * + * This library 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. + * + * This library 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 Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + * + * Author: + * Emmanuele Bassi <ebassi@linux.intel.com> + */ + +#ifndef __JSON_GOBJECT_PRIVATE_H__ +#define __JSON_GOBJECT_PRIVATE_H__ + +#include "json-gobject.h" + +G_BEGIN_DECLS + +JsonNode *json_serialize_pspec (const GValue *real_value, + GParamSpec *pspec); +gboolean json_deserialize_pspec (GValue *value, + GParamSpec *pspec, + JsonNode *node); + +G_END_DECLS + +#endif /* __JSON_GOBJECT_PRIVATE_H__ */ |
