~syslock/tomdroid/note-editing

« back to all changes in this revision

Viewing changes to src/org/tomdroid/util/SearchSuggestionProvider.java

  • Committer: Thomas Frenzel
  • Date: 2011-09-05 14:51:30 UTC
  • mfrom: (232.1.6 trunk)
  • Revision ID: syslock@gmx.de-20110905145130-8la78z561ccy3l8m
mergedĀ fromĀ main

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Tomdroid
 
3
 * Tomboy on Android
 
4
 * http://www.launchpad.net/tomdroid
 
5
 * 
 
6
 * Copyright 2011 Olivier Bilodeau <olivier@bottomlesspit.org>
 
7
 * Copyright 2011 Stefan Hammer <j.4@gmx.at>
 
8
 * 
 
9
 * This file is part of Tomdroid.
 
10
 * 
 
11
 * Tomdroid is free software: you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation, either version 3 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * Tomdroid is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with Tomdroid.  If not, see <http://www.gnu.org/licenses/>.
 
23
 */
 
24
package org.tomdroid.util;
 
25
 
 
26
import android.content.SearchRecentSuggestionsProvider;
 
27
 
 
28
public class SearchSuggestionProvider extends SearchRecentSuggestionsProvider {
 
29
    public final static String AUTHORITY = "org.tomdroid.util.SearchSuggestionProvider";
 
30
    public final static int MODE = DATABASE_MODE_QUERIES;
 
31
 
 
32
    public SearchSuggestionProvider() {
 
33
        setupSuggestions(AUTHORITY, MODE);
 
34
    }
 
35
}