~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to vapi/libgda-4.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-09-05 10:32:13 UTC
  • mfrom: (1.5.9 upstream) (28.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20100905103213-8nn88erk20o4wgm3
Tags: 0.9.8-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        }
48
48
        [CCode (cheader_filename = "libgda/libgda.h")]
49
49
        public class BlobOp : GLib.Object {
 
50
                [CCode (has_construct_function = false)]
 
51
                protected BlobOp ();
50
52
                public virtual long get_length ();
51
53
                public virtual long read (Gda.Blob blob, long offset, long size);
52
54
                public bool read_all (Gda.Blob blob);
83
85
        }
84
86
        [CCode (cheader_filename = "libgda/libgda.h")]
85
87
        public class Config : GLib.Object {
 
88
                [CCode (has_construct_function = false)]
 
89
                protected Config ();
86
90
                public static bool can_modify_system_config ();
87
91
                public static bool define_dsn (Gda.DsnInfo info) throws GLib.Error;
88
92
                public static bool dsn_needs_authentication (string dsn_name);
108
112
        }
109
113
        [CCode (cheader_filename = "libgda/libgda.h")]
110
114
        public class Connection : GLib.Object, Gda.Lockable {
 
115
                [CCode (has_construct_function = false)]
 
116
                protected Connection ();
111
117
                public bool add_savepoint (string name) throws GLib.Error;
112
118
                public unowned GLib.SList<GLib.Object> batch_execute (Gda.Batch batch, Gda.Set @params, Gda.StatementModelUsage model_usage) throws GLib.Error;
113
119
                public bool begin_transaction (string name, Gda.TransactionIsolation level) throws GLib.Error;
259
265
        }
260
266
        [CCode (cheader_filename = "libgda/libgda.h")]
261
267
        public class DataModelImport : GLib.Object, Gda.DataModel {
 
268
                [CCode (has_construct_function = false)]
 
269
                protected DataModelImport ();
262
270
                public void clean_errors ();
263
271
                [CCode (type = "GdaDataModel*", has_construct_function = false)]
264
272
                public DataModelImport.file (string filename, bool random_access, Gda.Set options);
283
291
        }
284
292
        [CCode (cheader_filename = "libgda/libgda.h")]
285
293
        public class DataModelIter : Gda.Set {
 
294
                [CCode (has_construct_function = false)]
 
295
                protected DataModelIter ();
286
296
                public static GLib.Quark error_quark ();
287
297
                public unowned Gda.Holder get_holder_for_field (int col);
288
298
                public int get_row ();
361
371
                public int advertized_nrows;
362
372
                public int nb_stored_rows;
363
373
                public weak Gda.PStmt prep_stmt;
 
374
                [CCode (has_construct_function = false)]
 
375
                protected DataSelect ();
364
376
                public bool compute_columns_attributes () throws GLib.Error;
365
377
                public bool compute_modification_statements () throws GLib.Error;
366
378
                public bool compute_row_selection_condition () throws GLib.Error;
680
692
                public weak GLib.SList tmpl_columns;
681
693
                [CCode (array_length = false)]
682
694
                public weak GLib.Type[] types;
 
695
                [CCode (has_construct_function = false)]
 
696
                protected PStmt ();
683
697
                public void copy_contents (Gda.PStmt dest);
684
698
                public unowned Gda.Statement get_gda_statement ();
685
699
                public void set_gda_statement (Gda.Statement stmt);
768
782
        }
769
783
        [CCode (cheader_filename = "libgda/libgda.h")]
770
784
        public class ServerProvider : GLib.Object {
 
785
                [CCode (has_construct_function = false)]
 
786
                protected ServerProvider ();
771
787
                [NoWrapper]
772
788
                public virtual bool add_savepoint (Gda.Connection cnc, string name) throws GLib.Error;
773
789
                [NoWrapper]
1316
1332
        }
1317
1333
        [CCode (cheader_filename = "libgda/libgda.h")]
1318
1334
        public class SqliteProvider : Gda.ServerProvider {
 
1335
                [CCode (has_construct_function = false)]
 
1336
                protected SqliteProvider ();
1319
1337
        }
1320
1338
        [CCode (cheader_filename = "libgda/libgda.h")]
1321
1339
        public class Statement : GLib.Object {
1383
1401
        }
1384
1402
        [CCode (cheader_filename = "libgda/libgda.h")]
1385
1403
        public class VconnectionDataModel : Gda.VirtualConnection, Gda.Lockable {
 
1404
                [CCode (has_construct_function = false)]
 
1405
                protected VconnectionDataModel ();
1386
1406
                public bool add (Gda.VconnectionDataModelSpec spec, GLib.DestroyNotify spec_free_func, string table_name) throws GLib.Error;
1387
1407
                public bool add_model (Gda.DataModel model, string table_name) throws GLib.Error;
1388
1408
                public void @foreach (Gda.VconnectionDataModelFunc func, void* data);
1399
1419
        }
1400
1420
        [CCode (cheader_filename = "libgda/libgda.h")]
1401
1421
        public class VconnectionHub : Gda.VconnectionDataModel, Gda.Lockable {
 
1422
                [CCode (has_construct_function = false)]
 
1423
                protected VconnectionHub ();
1402
1424
                public bool add (Gda.Connection cnc, string ns) throws GLib.Error;
1403
1425
                public void @foreach (Gda.VConnectionHubFunc func, void* data);
1404
1426
                public unowned Gda.Connection get_connection (string ns);
1406
1428
        }
1407
1429
        [CCode (cheader_filename = "libgda/libgda.h")]
1408
1430
        public class VirtualConnection : Gda.Connection, Gda.Lockable {
 
1431
                [CCode (has_construct_function = false)]
 
1432
                protected VirtualConnection ();
1409
1433
                public void* internal_get_provider_data ();
1410
1434
                public void internal_set_provider_data (void* data, GLib.DestroyNotify destroy_func);
1411
1435
                public static unowned Gda.Connection open (Gda.VirtualProvider virtual_provider) throws GLib.Error;
1412
1436
        }
1413
1437
        [CCode (cheader_filename = "libgda/libgda.h")]
1414
1438
        public class VirtualProvider : Gda.SqliteProvider {
 
1439
                [CCode (has_construct_function = false)]
 
1440
                protected VirtualProvider ();
1415
1441
        }
1416
1442
        [CCode (cheader_filename = "libgda/libgda.h")]
1417
1443
        public class VproviderDataModel : Gda.VirtualProvider {
1445
1471
        public class XaTransactionId {
1446
1472
                public ushort bqual_length;
1447
1473
                [CCode (array_length = false)]
1448
 
                public weak string[] data;
 
1474
                public weak GLib.ObjectPath[] data;
1449
1475
                public uint32 format;
1450
1476
                public ushort gtrid_length;
1451
1477
                public unowned string to_string ();