summaryrefslogtreecommitdiff
path: root/libwnck/wnck-handle-private.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-08 18:19:52 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-10 18:47:03 +0300
commit1d3ae4cca97eddf45ff635ab3a3a16b169532788 (patch)
tree99bb402383ff46789f52a660342848ab541d11ab /libwnck/wnck-handle-private.h
parentc786d24b37b17c65869e4f2a7c282fbf32bca601 (diff)
downloadlibwnck-1d3ae4cca97eddf45ff635ab3a3a16b169532788.tar.gz
add private WnckHandle object
WnckHandle in future will be used as main entry point into library. This will allow to have multiple tasklists in same process with different settings. Also this will allow to cleanup resources without worrying that calling wnck_shutdown might affect other applets or plugins that might use libwnck in same process. https://gitlab.gnome.org/GNOME/libwnck/-/issues/136
Diffstat (limited to 'libwnck/wnck-handle-private.h')
-rw-r--r--libwnck/wnck-handle-private.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libwnck/wnck-handle-private.h b/libwnck/wnck-handle-private.h
new file mode 100644
index 0000000..156821a
--- /dev/null
+++ b/libwnck/wnck-handle-private.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2021 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 WNCK_HANDLE_PRIVATE_H
+#define WNCK_HANDLE_PRIVATE_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);
+
+G_END_DECLS
+
+#endif