00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef INCL_SYNC_BODY
00021 #define INCL_SYNC_BODY
00022
00024 #include "base/fscapi.h"
00025 #include "base/util/ArrayList.h"
00026 #include "syncml/core/AbstractCommand.h"
00027
00028
00029 class SyncBody {
00030
00031
00032 private:
00033 ArrayList* commands;
00034 BOOL finalMsg;
00035 void initialize();
00036 public:
00037
00038 SyncBody();
00039 ~SyncBody();
00040
00053 SyncBody(ArrayList* commands ,
00054 BOOL finalMsg);
00055
00056
00063 ArrayList* getCommands();
00064
00072 void setCommands(ArrayList* commands);
00073
00079 void setFinalMsg(BOOL finalMsg);
00080
00087 BOOL isFinalMsg();
00088
00095 BOOL getFinalMsg();
00096
00097 SyncBody* clone();
00098 };
00099
00101 #endif