Commit bed64c41 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

status-notifier: add SnItem and SnItemV0

parent 3e90bbfb
......@@ -25,6 +25,10 @@ status_notifier_la_SOURCES = \
sn-host.h \
sn-host-v0.c \
sn-host-v0.h \
sn-item.c \
sn-item.h \
sn-item-v0.c \
sn-item-v0.h \
sn-module.c \
$(BUILT_SOURCES) \
$(NULL)
......
/*
* Copyright (C) 2016 Alberts Muktupāvels
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "sn-item-v0.h"
struct _SnItemV0
{
SnItem parent;
};
G_DEFINE_TYPE (SnItemV0, sn_item_v0, SN_TYPE_ITEM)
static void
sn_item_v0_class_init (SnItemV0Class *v0_class)
{
}
static void
sn_item_v0_init (SnItemV0 *v0)
{
}
/*
* Copyright (C) 2016 Alberts Muktupāvels
*
* 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.
*
* 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 SN_ITEM_V0_H
#define SN_ITEM_V0_H
#include "sn-item.h"
G_BEGIN_DECLS
#define SN_TYPE_ITEM_V0 sn_item_v0_get_type ()
G_DECLARE_FINAL_TYPE (SnItemV0, sn_item_v0, SN, ITEM_V0, SnItem)
G_END_DECLS
#endif
/*
* Copyright (C) 2016 Alberts Muktupāvels
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "sn-item.h"
G_DEFINE_ABSTRACT_TYPE (SnItem, sn_item, GTK_TYPE_BUTTON)
static void
sn_item_class_init (SnItemClass *item_class)
{
}
static void
sn_item_init (SnItem *item)
{
}
/*
* Copyright (C) 2016 Alberts Muktupāvels
*
* 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.
*
* 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 SN_ITEM_H
#define SN_ITEM_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define SN_TYPE_ITEM sn_item_get_type ()
G_DECLARE_DERIVABLE_TYPE (SnItem, sn_item, SN, ITEM, GtkButton)
struct _SnItemClass
{
GtkButtonClass parent_class;
};
G_END_DECLS
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment