Re: [Vala] Adding my custom object to libGee.List...
- From: Arley Consuegra Rosello <aconsuegra uci cu>
- To: Arkadi Viner <arkashkin gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Adding my custom object to libGee.List...
- Date: Sun, 20 Jun 2010 23:26:41 -0400 (CDT)
Sorry I don´t have been see the answer that was posted before
----- Mensaje original -----
De: "Arley Consuegra Rosello" <aconsuegra uci cu>
Para: "Arkadi Viner" <arkashkin gmail com>
CC: vala-list gnome org
Enviados: Domingo, 20 de Junio 2010 22:13:45 (GMT-0500) Auto-Detected
Asunto: Re: [Vala] Adding my custom object to libGee.List...
I think that must be
private Gee.List<PdfDocument> pdfDocuments = new Gee.ArrayList<PdfDocument> ();
----- Mensaje original -----
De: "Arkadi Viner" <arkashkin gmail com>
Para: vala-list gnome org
Enviados: Sábado, 19 de Junio 2010 17:48:18 (GMT-0500) Auto-Detected
Asunto: [Vala] Adding my custom object to libGee.List...
Hi,
In my program I have declared a list of object of type PdfDocument.
(PdfDocument is an object which handles one open pdf file, and provides some
function like displaying it, show number of pages...)
*so, the declaration look like this:*
private Gee.List pdfDocuments = new Gee.ArrayList<PdfDocument> ();
*and when I try to add some thing to it:*
pdfDocuments.add(new PdfDocument(file_chooser.get_filename ());
*I get compilation error:*
main.vala:99.13-99.24: error: missing generic type arguments
<b>Process return 256 execution time: 0.90 s</b>
please help...
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]