aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ivicore/qface-ivi-addressbook/example-ivi-addressbook.qface
blob: 760b8ee87356e6c46256063d65818e5298a15bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Example.IVI.AddressBookModule 1.0;

@config: { qml_type: "UiAddressBook" }
//! [0]
interface AddressBook {
    model<Contact> contacts;

    void insertContact(int index, Contact contact);
}

struct Contact {
    string forename;
    string name;
    int phone;
}
//! [0]