1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  *  Copyright (C) 2008  Kouhei Sutou <kou@cozmixng.org>
4  *
5  *  This library is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Lesser General Public License as published by
7  *  the Free Software Foundation, either version 3 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This library is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Lesser General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Lesser General Public License
16  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  *
18  */
19 
20 #ifndef __CUT_SUB_PROCESS_GROUP_H__
21 #define __CUT_SUB_PROCESS_GROUP_H__
22 
23 #include <glib-object.h>
24 #include <cutter/cut-public.h>
25 
26 G_BEGIN_DECLS
27 
28 #define CUT_TYPE_SUB_PROCESS_GROUP            (cut_sub_process_group_get_type ())
29 #define CUT_SUB_PROCESS_GROUP(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CUT_TYPE_SUB_PROCESS_GROUP, CutSubProcessGroup))
30 #define CUT_SUB_PROCESS_GROUP_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CUT_TYPE_SUB_PROCESS_GROUP, CutSubProcessGroupClass))
31 #define CUT_IS_SUB_PROCESS_GROUP(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CUT_TYPE_SUB_PROCESS_GROUP))
32 #define CUT_IS_SUB_PROCESS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CUT_TYPE_SUB_PROCESS_GROUP))
33 #define CUT_SUB_PROCESS_GROUP_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), CUT_TYPE_SUB_PROCESS_GROUP, CutSubProcessGroupClass))
34 
35 typedef struct _CutSubProcessGroupClass    CutSubProcessGroupClass;
36 
37 struct _CutSubProcessGroup
38 {
39     GObject object;
40 };
41 
42 struct _CutSubProcessGroupClass
43 {
44     GObjectClass parent_class;
45 };
46 
47 GType           cut_sub_process_group_get_type      (void) G_GNUC_CONST;
48 
49 CutSubProcessGroup *cut_sub_process_group_new          (CutTestContext *test_context);
50 
51 CutTestContext *cut_sub_process_group_get_test_context (CutSubProcessGroup *sub_process_group);
52 void            cut_sub_process_group_set_test_context (CutSubProcessGroup *sub_process_group,
53                                                         CutTestContext *test_context);
54 
55 
56 G_END_DECLS
57 
58 #endif /* __CUT_SUB_PROCESS_GROUP_H__ */
59 
60 /*
61 vi:ts=4:nowrap:ai:expandtab:sw=4
62 */
63