~people-project/people-core/deep-refactoring

« back to all changes in this revision

Viewing changes to libbackend/address-book-factory.vala

  • Committer: Ali Sabil
  • Date: 2007-12-18 23:38:45 UTC
  • Revision ID: ali.sabil@gmail.com-20071218233845-6mmfecoc0g53uy75
Initial import of the people source code.

Initial import of the people source code, the source is structured as follow:
    - doc: contains the various documentations/diagrams explaining the project
    - libbackend: defines the interfaces to be implemented by the backends
    - libpeople: people core library

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* address-book-factory.vala
 
2
 *
 
3
 * Copyright (C) 2007 Ali Sabil <ali.sabil@gmail.com>
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Lesser General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2.1 of the License, or (at your option) any later version.
 
9
 
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Lesser General Public License for more details.
 
14
 
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the Free Software
 
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
18
 *
 
19
 */
 
20
 
 
21
using GLib;
 
22
 
 
23
namespace People {
 
24
 
 
25
    public interface IAddressBookFactory : Object {
 
26
 
 
27
        public abstract Array<ParamSpec> parameters();
 
28
 
 
29
        public abstract IAddressBook address_book(HashTable<string, value> parameters);
 
30
    }
 
31
}
 
32