File: screem-linkview-util.h

package info (click to toggle)
screem 0.12.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 19,728 kB
  • ctags: 8,333
  • sloc: ansic: 98,234; sh: 8,278; xml: 2,278; makefile: 1,054
file content (36 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (3)
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
32
33
34
35
36
#ifndef SCREEM_LINK_VIEW_UTIL_H
#define SCREEM_LINK_VIEW_UTIL_H

#include <libgnomecanvas/gnome-canvas.h>

enum {
	GOODNODE = 1,
	EXTERNALNODE,
	BADNODE,
	NONODE,
	UPDATENODE,
	CHECKNODE
};

/* remote link status */
typedef enum {
	REMOTE_NOT_CHECKED = 0,
	REMOTE_EXISTS,
	REMOTE_UNREACHABLE,
	REMOTE_BROKEN,
	REMOTE_CHECKING
} RemoteStatus;

/* Must keep in sync with sitecopy's values */
typedef enum {
	file_unchanged, /* Remote file is same as local file */
	file_changed, /* File has changed locally, and should be uploaded */
	file_new, /* File is new locally, and should be uploaded */
	file_deleted,/* File deleted locally, and should be deleted remotely */
	file_moved /* File has been moved locally, should be moved remotely */
} SyncStatus;

GnomeCanvasItem* node_draw( GnomeCanvasGroup *root, gdouble x,
			    gdouble y, gint node_type, gboolean legend );

#endif