2 * This file is part of NeverNote
3 * Copyright 2009 Randy Baumgarte
5 * This file may be licensed under the terms of of the
6 * GNU General Public License Version 2 (the ``GPL'').
8 * Software distributed under the License is distributed
9 * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
10 * express or implied. See the GPL for the specific language
11 * governing rights and limitations.
13 * You should have received a copy of the GPL along with this
14 * program. If not, go to http://www.gnu.org/licenses/gpl.html
15 * or write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 package cx.fbn.nevernote.signals;
22 import com.evernote.edam.notestore.NoteStore;
23 import com.evernote.edam.type.User;
24 import com.evernote.edam.userstore.UserStore;
25 import com.trolltech.qt.QSignalEmitter;
28 public class SyncSignal extends QSignalEmitter {
29 public Signal1<Boolean> finished = new Signal1<Boolean>();
30 public Signal0 errorDisconnect = new Signal0();
31 // public Signal1<Long> setSequenceDate = new Signal1<Long>();
32 public Signal1<Long> saveUploadAmount = new Signal1<Long>();
33 // public Signal1<Integer> setUpdateSequenceNumber = new Signal1<Integer>();
34 public Signal1<Integer> saveEvernoteUpdateCount = new Signal1<Integer>();
35 public Signal1<User> saveUserInformation = new Signal1<User>();
36 public Signal1<String> saveAuthToken = new Signal1<String>();
37 public Signal1<UserStore.Client> saveUserStore = new Signal1<UserStore.Client>();
38 public Signal1<NoteStore.Client> saveNoteStore = new Signal1<NoteStore.Client>();
39 public Signal1<Boolean> authRefreshComplete = new Signal1<Boolean>();
41 public Signal0 refreshNotebooks = new Signal0();
42 public Signal0 refreshTags = new Signal0();
43 public Signal0 refreshSavedSearches = new Signal0();
44 public Signal0 refreshNotes = new Signal0();
45 public Signal0 refreshLists = new Signal0();