File: is-udisks2-plugin.h

package info (click to toggle)
indicator-sensors 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,240 kB
  • sloc: ansic: 8,898; sh: 571; makefile: 394; xml: 41
file content (67 lines) | stat: -rw-r--r-- 2,287 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
 * Copyright (C) 2011-2019 Alex Murray <murray.alex@gmail.com>
 *
 * indicator-sensors 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.
 *
 * indicator-sensors 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.
 *
 * You should have received a copy of the GNU General Public License
 * along with indicator-sensors.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __IS_UDISKS2_PLUGIN_H__
#define __IS_UDISKS2_PLUGIN_H__

#include <libpeas/peas.h>


G_BEGIN_DECLS

#define IS_TYPE_UDISKS2_PLUGIN    \
  (is_udisks2_plugin_get_type())
#define IS_UDISKS2_PLUGIN(obj)        \
  (G_TYPE_CHECK_INSTANCE_CAST((obj),      \
                              IS_TYPE_UDISKS2_PLUGIN, \
                              IsUDisks2Plugin))
#define IS_UDISKS2_PLUGIN_CLASS(klass)      \
  (G_TYPE_CHECK_CLASS_CAST((klass),     \
                           IS_TYPE_UDISKS2_PLUGIN,  \
                           IsUDisks2PluginClass))
#define IS_IS_UDISKS2_PLUGIN(obj)       \
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),      \
                              IS_TYPE_UDISKS2_PLUGIN))
#define IS_IS_UDISKS2_PLUGIN_CLASS(klass)     \
  (G_TYPE_CHECK_CLASS_TYPE((klass),     \
                           IS_TYPE_UDISKS2_PLUGIN))
#define IS_UDISKS2_PLUGIN_GET_CLASS(obj)      \
  (G_TYPE_INSTANCE_GET_CLASS((obj),     \
                             IS_TYPE_UDISKS2_PLUGIN,  \
                             IsUDisks2PluginClass))

typedef struct _IsUDisks2Plugin      IsUDisks2Plugin;
typedef struct _IsUDisks2PluginClass IsUDisks2PluginClass;
typedef struct _IsUDisks2PluginPrivate IsUDisks2PluginPrivate;

struct _IsUDisks2PluginClass
{
  PeasExtensionBaseClass parent_class;
};

struct _IsUDisks2Plugin
{
  PeasExtensionBase parent;
  IsUDisks2PluginPrivate *priv;
};

GType is_udisks2_plugin_get_type(void) G_GNUC_CONST;
G_MODULE_EXPORT void peas_register_types(PeasObjectModule *module);

G_END_DECLS

#endif /* __IS_UDISKS2_PLUGIN_H__ */