File: screem-link-view-image.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 (35 lines) | stat: -rw-r--r-- 1,163 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
#ifndef SCREEM_LINK_VIEW_IMAGE_H
#define SCREEM_LINK_VIEW_IMAGE_H

#include <glib-object.h>

#include "screem-linkview-util.h"

#define SCREEM_TYPE_LINK_VIEW_IMAGE (screem_link_view_image_get_type())
#define SCREEM_LINK_VIEW_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST( (obj), SCREEM_TYPE_LINK_VIEW_IMAGE, ScreemLinkViewImage ) )
#define SCREEM_IS_LINK_VIEW_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE( (obj), SCREEM_TYPE_LINK_VIEW_IMAGE ) )

typedef struct ScreemLinkViewImage ScreemLinkViewImage;

struct ScreemLinkViewImage{
	GObject parent;

	gchar* name;		/* Realtive Filename from the base node */
	gchar* filename;        /* Full File Name */
	gboolean external; 	/* Is it remote or local? */
	gboolean exists; 	/* Is it dead or not? */
	gboolean excluded;	/* is the page marked for upload?*/
	double filesize; 	/* Filesize in bytes */
	SyncStatus uploadStatus; /* What the upload status is */
	ScreemLinkViewImage* next;      /* pointer to the next image*/
};

typedef struct {
	GObjectClass parent_class;
} ScreemLinkViewImageClass;

GType screem_link_view_image_get_type( void );
ScreemLinkViewImage *screem_link_view_image_new( const gchar *pathname );


#endif