summaryrefslogtreecommitdiff
path: root/libwnck/wnck-handle-private.h
blob: caa41eee9b7bc1e57eb86eb14eb4349dd9190ca2 (plain)
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
/*
 * Copyright (C) 2021 Alberts Muktupāvels
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef WNCK_HANDLE_PRIVATE_H
#define WNCK_HANDLE_PRIVATE_H

#include "class-group.h"
#include "util.h"

G_BEGIN_DECLS

typedef struct _WnckHandle WnckHandle;

WnckHandle     *_wnck_handle_new                        (WnckClientType  client_type);

WnckClientType  _wnck_handle_get_client_type            (WnckHandle     *self);

void            _wnck_handle_set_default_icon_size      (WnckHandle     *self,
                                                         gsize           icon_size);

gsize           _wnck_handle_get_default_icon_size      (WnckHandle     *self);

void            _wnck_handle_set_default_mini_icon_size (WnckHandle     *self,
                                                         gsize           icon_size);

gsize           _wnck_handle_get_default_mini_icon_size (WnckHandle     *self);

void            _wnck_handle_insert_class_group         (WnckHandle      *self,
                                                         const char      *id,
                                                         WnckClassGroup  *class_group);

void            _wnck_handle_remove_class_group         (WnckHandle      *self,
                                                         const char      *id);

WnckClassGroup *_wnck_handle_get_class_group            (WnckHandle      *self,
                                                         const char      *id);

G_END_DECLS

#endif