/android/export-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/export-contacts

« back to all changes in this revision

Viewing changes to src/am/ed/exportcontacts/ContactAccessor.java

  • Committer: edam
  • Date: 2012-04-24 11:29:44 UTC
  • Revision ID: tim@ed.am-20120424112944-6fic236bul6r9cqi
changed all the URLs to ed.am, including copyrights, package names and project
site

Show diffs side-by-side

added added

removed removed

1
1
/*
2
 
 * Backend.java
 
2
 * ContactAccessor.java
3
3
 *
4
4
 * Copyright (C) 2011 Tim Marston <tim@ed.am>
5
5
 *
6
6
 * This file is part of the Export Contacts program (hereafter referred
7
 
 * to as "this program").  For more information, see
 
7
 * to as "this program"). For more information, see
8
8
 * http://ed.am/dev/android/export-contacts
9
9
 *
10
10
 * This program is free software: you can redistribute it and/or modify
23
23
 
24
24
package am.ed.exportcontacts;
25
25
 
26
 
public interface Backend
 
26
public interface ContactAccessor
27
27
{
28
28
        /**
29
29
         * Return the number of contacts that exist and that will be exported.
30
 
         *
31
30
         * @return number of existing contacts
32
31
         */
33
32
        public int getNumContacts();
34
33
 
35
34
        /**
36
35
         * Return the next contact.
37
 
         *
38
36
         * @return a ContactData
39
37
         */
40
38
        public boolean getNextContact( Exporter.ContactData contact );