2009-10-15 19:28:29 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#ifndef __SHELL_APP_USAGE_H__
|
|
|
|
#define __SHELL_APP_USAGE_H__
|
|
|
|
|
|
|
|
#include "shell-app.h"
|
|
|
|
#include "shell-window-tracker.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define SHELL_TYPE_APP_USAGE (shell_app_usage_get_type ())
|
2015-09-24 14:07:44 -04:00
|
|
|
G_DECLARE_FINAL_TYPE (ShellAppUsage, shell_app_usage,
|
|
|
|
SHELL, APP_USAGE, GObject)
|
2009-10-15 19:28:29 -04:00
|
|
|
|
|
|
|
ShellAppUsage* shell_app_usage_get_default(void);
|
|
|
|
|
2010-09-14 20:56:34 -04:00
|
|
|
GSList *shell_app_usage_get_most_used (ShellAppUsage *usage,
|
2013-02-18 16:54:52 -05:00
|
|
|
const char *context);
|
2011-10-05 10:44:50 -04:00
|
|
|
int shell_app_usage_compare (ShellAppUsage *self,
|
|
|
|
const char *context,
|
2013-11-02 20:13:42 -04:00
|
|
|
const char *id_a,
|
|
|
|
const char *id_b);
|
2009-10-15 19:28:29 -04:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_APP_USAGE_H__ */
|