diff options
author | Robert Tari <robert@tari.in> | 2022-09-06 03:21:41 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2022-09-06 04:33:09 +0200 |
commit | d32524e211f7af301845b5db518d818b77831205 (patch) | |
tree | e97ccec961224a2f1d6d5686fb3172b253fc8986 /src/indicator-printers-service.h | |
parent | 4e646dac54541c70532374463767428e3f22cbd2 (diff) | |
download | ayatana-indicator-printers-d32524e211f7af301845b5db518d818b77831205.tar.gz ayatana-indicator-printers-d32524e211f7af301845b5db518d818b77831205.tar.bz2 ayatana-indicator-printers-d32524e211f7af301845b5db518d818b77831205.zip |
Rewrite to indicator-ng: Code and build changes
Diffstat (limited to 'src/indicator-printers-service.h')
-rw-r--r-- | src/indicator-printers-service.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/indicator-printers-service.h b/src/indicator-printers-service.h new file mode 100644 index 0000000..0b093c1 --- /dev/null +++ b/src/indicator-printers-service.h @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Robert Tari + * + * Authors: Robert Tari <robert@tari.in> + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published + * by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, 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 this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __INDICATOR_PRINTERS_SERVICE_H__ +#define __INDICATOR_PRINTERS_SERVICE_H__ + +#include <glib.h> +#include <glib-object.h> + +G_BEGIN_DECLS + +#define INDICATOR_PRINTERS_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), INDICATOR_TYPE_PRINTERS_SERVICE, IndicatorPrintersService)) +#define INDICATOR_TYPE_PRINTERS_SERVICE (indicator_printers_service_get_type ()) +#define INDICATOR_IS_PRINTERS_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), INDICATOR_TYPE_PRINTERS_SERVICE)) + +typedef struct _IndicatorPrintersService IndicatorPrintersService; +typedef struct _IndicatorPrintersServiceClass IndicatorPrintersServiceClass; +typedef struct _IndicatorPrintersServicePrivate IndicatorPrintersServicePrivate; + +struct _IndicatorPrintersService +{ + GObject parent; + IndicatorPrintersServicePrivate *pPrivate; +}; + +struct _IndicatorPrintersServiceClass +{ + GObjectClass parent_class; + void (*pNameLost) (IndicatorPrintersService *self); +}; + +GType indicator_printers_service_get_type (void); +IndicatorPrintersService *indicator_printers_service_new (); + +G_END_DECLS + +#endif |