File: screem-cvs.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 (49 lines) | stat: -rw-r--r-- 1,472 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
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef SCREEM_CVS_H
#define SCREEM_CVS_H

#include <glib-object.h>

#include "screem-window.h"
#include "screem-helper.h"

#define SCREEM_TYPE_CVS            (screem_cvs_get_type ())
#define SCREEM_CVS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCREEM_TYPE_CVS, ScreemCVS))
#define SCREEM_CVS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SCREEM_TYPE_CVS, ScreemCVSClass))
#define SCREEM_IS_CVS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCREEM_TYPE_CVS))


typedef struct ScreemCVSPrivate ScreemCVSPrivate;

typedef struct {
	ScreemHelper parent;

	ScreemCVSPrivate *private;
} ScreemCVS;

typedef struct {
	ScreemHelperClass parent_class;
} ScreemCVSClass;


GType screem_cvs_get_type( void );

ScreemCVS* screem_cvs_new( ScreemWindow *window );

/* pathname can be NULL to use the preset base path */
void screem_cvs_commit( ScreemCVS *cvs, const gchar *pathname,
			const gchar *extra_flags, const gchar *log_text );
void screem_cvs_update( ScreemCVS *cvs, const gchar *pathname,
			const gchar *extra_flags );

void screem_cvs_delete( ScreemCVS *cvs, const gchar *pathname,
			const gchar *extra_flags );
void screem_cvs_add( ScreemCVS *cvs, const gchar *pathname,
		     const gchar *extra_flags, const gchar *log_text );

void screem_cvs_checkout( ScreemCVS *cvs,
			  const gchar *extra_flags, const gchar *module );
void screem_cvs_import( ScreemCVS *cvs,
			const gchar *extra_flags, const gchar *log_text,
			const gchar *module );

#endif