2009-10-24 13:40:13 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#ifndef __SHELL_GLOBAL_PRIVATE_H__
|
|
|
|
#define __SHELL_GLOBAL_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "shell-global.h"
|
|
|
|
|
|
|
|
#include <gjs/gjs.h>
|
|
|
|
|
2011-08-28 01:32:12 -04:00
|
|
|
void _shell_global_init (const char *first_property_name,
|
|
|
|
...);
|
2009-10-28 12:59:01 -04:00
|
|
|
void _shell_global_set_plugin (ShellGlobal *global,
|
2010-10-19 14:55:43 -04:00
|
|
|
MetaPlugin *plugin);
|
2011-02-25 11:20:27 -05:00
|
|
|
|
|
|
|
GjsContext *_shell_global_get_gjs_context (ShellGlobal *global);
|
2009-10-24 13:40:13 -04:00
|
|
|
|
2011-01-05 09:47:27 -05:00
|
|
|
gboolean _shell_global_check_xdnd_event (ShellGlobal *global,
|
|
|
|
XEvent *xev);
|
2011-08-24 10:06:13 -04:00
|
|
|
|
|
|
|
/* Used for async screenshot grabbing */
|
|
|
|
typedef struct _screenshot_data {
|
|
|
|
ShellGlobal *global;
|
|
|
|
|
|
|
|
char *filename;
|
|
|
|
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int width;
|
|
|
|
int height;
|
|
|
|
|
|
|
|
ShellGlobalScreenshotCallback callback;
|
|
|
|
} _screenshot_data;
|
|
|
|
|
2009-10-24 13:40:13 -04:00
|
|
|
#endif /* __SHELL_GLOBAL_PRIVATE_H__ */
|