/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */ /* * nimf-nim-ic.h * This file is part of Nimf. * * Copyright (C) 2015-2019 Hodong Kim * * Nimf is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Nimf 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; If not, see . */ #ifndef __NIMF_NIM_IC_H__ #define __NIMF_NIM_IC_H__ #include #include "nimf-service-ic.h" #include "nimf-connection.h" G_BEGIN_DECLS #define NIMF_TYPE_NIM_IC (nimf_nim_ic_get_type ()) #define NIMF_NIM_IC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NIMF_TYPE_NIM_IC, NimfNimIC)) #define NIMF_NIM_IC_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), NIMF_TYPE_NIM_IC, NimfNimICClass)) #define NIMF_IS_NIM_IC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NIMF_TYPE_NIM_IC)) #define NIMF_IS_NIM_IC_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), NIMF_TYPE_NIM_IC)) #define NIMF_NIM_IC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NIMF_TYPE_NIM_IC, NimfNimICClass)) typedef struct _NimfNimIC NimfNimIC; typedef struct _NimfNimICClass NimfNimICClass; struct _NimfNimICClass { NimfServiceICClass parent_class; }; struct _NimfNimIC { NimfServiceIC parent_instance; NimfConnection *connection; guint16 icid; }; GType nimf_nim_ic_get_type (void) G_GNUC_CONST; NimfNimIC *nimf_nim_ic_new (guint16 icid, NimfConnection *connection); G_END_DECLS #endif /* __NIMF_NIM_IC_H__ */