src/include/common/client/FileClient.h

00001 /*
00002  * Copyright (C) 2003-2007 Funambol
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 
00019 #ifndef INCL_FILE_CLIENT
00020 #define INCL_FILE_CLIENT
00021 
00025 #include "base/fscapi.h"
00026 #include "base/messages.h"
00027 #include "base/Log.h"
00028 #include "base/util/ArrayList.h"
00029 #include "base/util/StringBuffer.h"
00030 #include "spds/spdsutils.h"
00031 #include "spds/constants.h"
00032 #include "client/SyncClient.h"
00033 #include "client/DMTClientConfig.h"
00034 #include "spds/DefaultConfigFactory.h"
00035 
00036 #include "client/FileSyncSource.h"
00037 
00038 //#include "filter/AllClause.h"
00039 //#include "filter/ClauseUtil.h"
00040 //#include "filter/LogicalClause.h"
00041 //#include "filter/FieldClause.h"
00042 //#include "filter/SourceFilter.h"
00043 //#include "filter/WhereClause.h"
00044 //#include "syncml/core/core.h"
00045 //#include "syncml/formatter/Formatter.h"
00046 //#include "spds/DefaultConfigFactory.h"
00047 //
00048 //#include "examples/MySyncListener.h"
00049 //#include "examples/MySyncSourceListener.h"
00050 //#include "examples/MySyncStatusListener.h"
00051 //#include "examples/MySyncItemListener.h"
00052 //#include "examples/MyTransportListener.h"
00053 //#include "event/SetListener.h"
00054 
00055 
00056 #define APPLICATION_URI         "Funambol/SyncclientFILE"
00057 #define LOG_TITLE                       "Funambol FILEClient Log"
00058 #define LOG_PATH                        "."
00059 #define LOG_LEVEL                       LOG_LEVEL_DEBUG
00060 #define SOURCE_NAME             "briefcase"
00061 #define WSOURCE_NAME            TEXT("briefcase")
00062 #define DEVICE_ID               "Funambol FILEClient"
00063 #define SW_VERSION              "1.0"
00064 //#define FILE_USER_AGENT         "Funambol FILEClient 1.0"
00065 
00066 
00067 // Function to create a default config.
00068 void createConfig(DMTClientConfig& config);
00069 
00072 #endif // INCL_FILE_CLIENT

Generated on Fri Apr 27 12:29:18 2007 for Funambol C++ Client Library by  doxygen 1.5.2