~ubuntu-branches/ubuntu/quantal/indicator-session/quantal

« back to all changes in this revision

Viewing changes to src/apt-transaction.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Ken VanDine
  • Date: 2012-02-14 18:49:02 UTC
  • mfrom: (1.1.46)
  • Revision ID: package-import@ubuntu.com-20120214184902-uf9zw55ys3x2v7za
Tags: 0.3.91-0ubuntu1

* Backport "Don't lock the session when switching to another one"
  work from Robert Ancell, the screen locking is already done by 
  consolekit and enforcing it there is problematic to i.e use the 
  lightdm greeter as a lock screen (lp: #878836)
* debian/control:
  - recommends python-aptdaemon.pkcompat so packagekit doesn't get installed
* debian/source/format:
  - use v1, v3 doesn't play nicely with vcs backports

[ Ken VanDine ]
* New upstream release. (lp: #903756)
* debian/control
  - added new build depends on libpackagekit-glib2-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright 2011 Canonical Ltd.
3
 
 
4
 
Authors:
5
 
    Conor Curran <conor.curran@canonical.com>
6
 
 
7
 
This program is free software: you can redistribute it and/or modify it 
8
 
under the terms of the GNU General Public License version 3, as published 
9
 
by the Free Software Foundation.
10
 
 
11
 
This program is distributed in the hope that it will be useful, but 
12
 
WITHOUT ANY WARRANTY; without even the implied warranties of 
13
 
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
14
 
PURPOSE.  See the GNU General Public License for more details.
15
 
 
16
 
You should have received a copy of the GNU General Public License along 
17
 
with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
*/
19
 
 
20
 
#ifndef _APT_TRANSACTION_H_
21
 
#define _APT_TRANSACTION_H_
22
 
 
23
 
#include <glib-object.h>
24
 
#include "dbus-shared-names.h"
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
28
 
#define APT_TYPE_TRANSACTION             (apt_transaction_get_type ())
29
 
#define APT_TRANSACTION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), APT_TYPE_TRANSACTION, AptTransaction))
30
 
#define APT_TRANSACTION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), APT_TYPE_TRANSACTION, AptTransactionClass))
31
 
#define APT_IS_TRANSACTION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), APT_TYPE_TRANSACTION))
32
 
#define APT_IS_TRANSACTION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), APT_TYPE_TRANSACTION))
33
 
#define APT_TRANSACTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), APT_TYPE_TRANSACTION, AptTransactionClass))
34
 
 
35
 
typedef struct _AptTransactionClass AptTransactionClass;
36
 
typedef struct _AptTransaction AptTransaction;
37
 
 
38
 
struct _AptTransactionClass
39
 
{
40
 
        GObjectClass parent_class;
41
 
};
42
 
 
43
 
AptTransaction* apt_transaction_new (gchar* transaction_id, TransactionType t);
44
 
TransactionType apt_transaction_get_transaction_type (AptTransaction* self);
45
 
GType apt_transaction_get_type (void) G_GNUC_CONST;
46
 
 
47
 
G_END_DECLS
48
 
 
49
 
#endif /* _APT_TRANSACTION_H_ */