File: session.h

package info (click to toggle)
gtop 0.28.1-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,324 kB
  • ctags: 890
  • sloc: ansic: 6,141; sh: 4,766; cpp: 355; makefile: 281; sed: 93
file content (31 lines) | stat: -rw-r--r-- 758 bytes parent folder | download
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
/*
 * gnome-support.h - forward decls of GNOMEificating functions
 * written by Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
 */

#ifndef SESSION_H
#define SESSION_H

#include <gnome.h>
#include <getopt.h>

extern int restarted, just_exit;
extern int os_x, os_y, os_w, os_h;
extern struct argp parser;

extern GtkWidget *window;

int save_state      (GnomeClient        *client,
		     gint                phase,
		     GnomeRestartStyle   save_style,
		     gint                shutdown,
		     GnomeInteractStyle  interact_style,
		     gint                fast,
		     gpointer            client_data);
void connect_client (GnomeClient *client, 
		     gint         was_restarted, 
		     gpointer     client_data);

void discard_session (gchar *id);

#endif