Update Nepali translation
[yelp.git] / libyelp / yelp-sqlite-storage.h
blob9666c86e9cb91025e5f7a5b8431608fc5e5e1cbf
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 2011 Shaun McCance <shaunm@gnome.org>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Shaun McCance <shaunm@gnome.org>
21 #ifndef __YELP_SQLITE_STORAGE_H__
22 #define __YELP_SQLITE_STORAGE_H__
24 #include <glib-object.h>
26 #include "yelp-storage.h"
28 G_BEGIN_DECLS
30 #define YELP_TYPE_SQLITE_STORAGE (yelp_sqlite_storage_get_type ())
31 #define YELP_SQLITE_STORAGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_SQLITE_STORAGE, YelpSqliteStorage))
32 #define YELP_SQLITE_STORAGE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), YELP_TYPE_SQLITE_STORAGE, YelpSqliteStorageClass))
33 #define YELP_IS_SQLITE_STORAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_SQLITE_STORAGE))
34 #define YELP_IS_SQLITE_STORAGE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_SQLITE_STORAGE))
35 #define YELP_SQLITE_STORAGE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_SQLITE_STORAGE, YelpSqliteStorageClass))
37 typedef struct _YelpSqliteStorage YelpSqliteStorage;
38 typedef struct _YelpSqliteStorageClass YelpSqliteStorageClass;
40 struct _YelpSqliteStorage {
41 GObject parent_instance;
44 struct _YelpSqliteStorageClass {
45 GObjectClass parent_class;
48 GType yelp_sqlite_storage_get_type (void);
50 YelpStorage * yelp_sqlite_storage_new (const gchar *filename);
52 G_END_DECLS
54 #endif /* __YELP_SQLITE_STORAGE_H__ */