File: definitions.cc

package info (click to toggle)
packagekit 1.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,824 kB
  • sloc: ansic: 56,491; cpp: 15,652; xml: 5,532; python: 4,932; sh: 316; perl: 60; makefile: 56
file content (92 lines) | stat: -rw-r--r-- 1,779 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#include "pk-backend.h"
#include <pk-backend-job.h>

gpointer
pk_backend_job_get_user_data (PkBackendJob *job)
{
	return NULL;
}

void
pk_backend_job_set_user_data (PkBackendJob *job, gpointer user_data)
{
}

void
pk_backend_job_set_allow_cancel (PkBackendJob *job, gboolean allow_cancel)
{
}

void
pk_backend_job_package (PkBackendJob *job,
			PkInfoEnum info,
			const gchar *package_id,
			const gchar *summary)
{
}

void
pk_backend_job_set_status (PkBackendJob *job, PkStatusEnum status)
{
}

void
pk_backend_job_set_percentage (PkBackendJob *job, guint percentage)
{
}

void
pk_backend_job_error_code (PkBackendJob *job,
		PkErrorEnum error_code, const gchar *format, ...)
{
}

void
pk_backend_job_files (PkBackendJob *job,
		const gchar *package_id, gchar **files)
{
}

void
pk_backend_job_details (PkBackendJob *job,
                        const gchar *package_id,
                        const gchar *summary,
                        const gchar *license,
                        PkGroupEnum group,
                        const gchar *description,
                        const gchar *url,
                        gulong size,
                        guint64 download_size)
{
}

void
pk_backend_job_update_detail (PkBackendJob *job,
		const gchar *package_id,
		gchar **updates,
		gchar **obsoletes,
		gchar **vendor_urls,
		gchar **bugzilla_urls,
		gchar **cve_urls,
		PkRestartEnum restart,
		const gchar *update_text,
		const gchar *changelog,
		PkUpdateStateEnum state,
		const gchar *issued,
		const gchar *updated)
{
}

gboolean
pk_backend_job_thread_create (PkBackendJob *job,
		PkBackendJobThreadFunc func,
		gpointer user_data,
		GDestroyNotify destroy_func)
{
	return FALSE;
}

gboolean pk_directory_remove_contents (const gchar *directory)
{
	return TRUE;
}