summaryrefslogtreecommitdiffstats
path: root/src/shell-window-tracker.h
blob: 87c38f882fbfb32080e1b254ba94a30ccf527e70 (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
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef __SHELL_WINDOW_TRACKER_H__
#define __SHELL_WINDOW_TRACKER_H__

#include <glib-object.h>
#include <glib.h>
#include <meta/window.h>
#include <meta/meta-startup-notification.h>

#include "shell-app.h"
#include "shell-app-system.h"

G_BEGIN_DECLS

#define SHELL_TYPE_WINDOW_TRACKER (shell_window_tracker_get_type ())
G_DECLARE_FINAL_TYPE (ShellWindowTracker, shell_window_tracker,
                      SHELL, WINDOW_TRACKER, GObject)

ShellWindowTracker* shell_window_tracker_get_default(void);

ShellApp *shell_window_tracker_get_window_app (ShellWindowTracker *tracker, MetaWindow *metawin);

ShellApp *shell_window_tracker_get_app_from_pid (ShellWindowTracker *tracker, int pid);

GSList *shell_window_tracker_get_startup_sequences (ShellWindowTracker *tracker);

G_END_DECLS

#endif /* __SHELL_WINDOW_TRACKER_H__ */