diff options
author | Dan Williams <dcbw@redhat.com> | 2010-01-19 15:07:03 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-01-19 15:07:03 -0800 |
commit | ed885b7595294115b5cde8755c754515294f27cc (patch) | |
tree | c34d42bf75c20b3fd740e4cd59e45aa6901a9fed /plugins/mm-plugin-anydata.h | |
parent | a919c8358284e948717c83d9d6c143281295390b (diff) | |
parent | e98401440475a1a82486fcb9ce4d02f092e627c5 (diff) |
Merge commit 'origin/anydata'
Diffstat (limited to 'plugins/mm-plugin-anydata.h')
-rw-r--r-- | plugins/mm-plugin-anydata.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/mm-plugin-anydata.h b/plugins/mm-plugin-anydata.h new file mode 100644 index 00000000..b71aad34 --- /dev/null +++ b/plugins/mm-plugin-anydata.h @@ -0,0 +1,41 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program 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 2 of the License, or + * (at your option) any later version. + * + * This program 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: + * + * Copyright (C) 2008 - 2009 Novell, Inc. + * Copyright (C) 2009 - 2010 Red Hat, Inc. + */ + +#ifndef MM_PLUGIN_ANYDATA_H +#define MM_PLUGIN_ANYDATA_H + +#include "mm-plugin-base.h" + +#define MM_TYPE_PLUGIN_ANYDATA (mm_plugin_anydata_get_type ()) +#define MM_PLUGIN_ANYDATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PLUGIN_ANYDATA, MMPluginAnydata)) +#define MM_PLUGIN_ANYDATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_PLUGIN_ANYDATA, MMPluginAnydataClass)) +#define MM_IS_PLUGIN_ANYDATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_PLUGIN_ANYDATA)) +#define MM_IS_PLUGIN_ANYDATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_PLUGIN_ANYDATA)) +#define MM_PLUGIN_ANYDATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_PLUGIN_ANYDATA, MMPluginAnydataClass)) + +typedef struct { + MMPluginBase parent; +} MMPluginAnydata; + +typedef struct { + MMPluginBaseClass parent; +} MMPluginAnydataClass; + +GType mm_plugin_anydata_get_type (void); + +G_MODULE_EXPORT MMPlugin *mm_plugin_create (void); + +#endif /* MM_PLUGIN_ANYDATA_H */ |