File: apt-messages.h

package info (click to toggle)
packagekit 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,704 kB
  • sloc: ansic: 56,209; cpp: 13,919; python: 4,970; xml: 4,945; sh: 313; perl: 60; makefile: 57
file content (36 lines) | stat: -rw-r--r-- 1,242 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
/* apt-messages.h
 *
 *  Copyright (c) 2004 Daniel Burrows
 *  Copyright (c) 2009-2011 Daniel Nicoletti <dantti12@gmail.com>
 *                2011-2012 Matthias Klumpp <matthias@tenstral.net>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; see the file COPYING.  If not, write to
 *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 *  Boston, MA 02111-1307, USA.
 */

#ifndef APT_MESSAGES_H
#define APT_MESSAGES_H

#include <pk-backend.h>

/** \file apt-messages.h
 */

/**
 * Call the Packagekit error dialog
 */
void show_errors(PkBackendJob *job, PkErrorEnum errorCode = PK_ERROR_ENUM_UNKNOWN, bool errModify = false);

#endif // AAPT_BACKEND_MESSAGES_H