~ubuntu-branches/ubuntu/trusty/pdfmod/trusty

« back to all changes in this revision

Viewing changes to lib/poppler-sharp/poppler-sharp/generated/Global.cs

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-06-18 03:44:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100618034446-bogifrsscpayp361
Tags: upstream-0.8.3
ImportĀ upstreamĀ versionĀ 0.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file was generated by the Gtk# code generator.
 
2
// Any changes made will be lost if regenerated.
 
3
 
 
4
namespace Poppler {
 
5
 
 
6
        using System;
 
7
        using System.Runtime.InteropServices;
 
8
 
 
9
#region Autogenerated code
 
10
        public class Global {
 
11
 
 
12
                [DllImport("poppler-glib")]
 
13
                static extern IntPtr poppler_get_version();
 
14
 
 
15
                public static string Version { 
 
16
                        get {
 
17
                                IntPtr raw_ret = poppler_get_version();
 
18
                                string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
 
19
                                return ret;
 
20
                        }
 
21
                }
 
22
 
 
23
                [DllImport("poppler-glib")]
 
24
                static extern int poppler_error_quark();
 
25
 
 
26
                public static int ErrorQuark() {
 
27
                        int raw_ret = poppler_error_quark();
 
28
                        int ret = raw_ret;
 
29
                        return ret;
 
30
                }
 
31
 
 
32
                [DllImport("poppler-glib")]
 
33
                static extern int poppler_get_backend();
 
34
 
 
35
                public static Poppler.Backend Backend { 
 
36
                        get {
 
37
                                int raw_ret = poppler_get_backend();
 
38
                                Poppler.Backend ret = (Poppler.Backend) raw_ret;
 
39
                                return ret;
 
40
                        }
 
41
                }
 
42
 
 
43
#endregion
 
44
        }
 
45
}