亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? syncbody.cpp

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? CPP
字號:
/*
 * Copyright (C) 2003-2007 Funambol, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307  USA
 */


#include "syncml/core/SyncBody.h"
#include "base/Log.h"

SyncBody::SyncBody() {
    initialize();
}
SyncBody::~SyncBody() {
    if(commands) {
        commands->clear();  //delete commands; commands = NULL;
    }
    finalMsg = FALSE;
}

/**
* Create a new SyncBody object. The commands in <i>commands</i>
* must be of the allowed types.
*
* @param commands The array elements must be an instance of one of these
*                 classes: {@link Alert},  {@link Atomic}, {@link Copy},
*                 {@link Exec}, {@link Get}, {@link Map}, {@link Put},
*                 {@link Results}, {@link Search}, {@link Sequence},
*                 {@link Status}, {@link Sync}
* @param finalMsg is true if this is the final message that is being sent
*
*/
SyncBody::SyncBody(ArrayList* commands   , // AbstractCommand[]
                   BOOL       finalMsg) {

        initialize();
        setCommands(commands);
        setFinalMsg(finalMsg);
}

void SyncBody::initialize() {
    finalMsg = FALSE;
    commands = new ArrayList();
}

/**
*
*  @return the return value is guaranteed to be non-null. Also,
*          the elements of the array are guaranteed to be non-null.
*
*/
ArrayList* SyncBody::getCommands() {
    return commands;
}


/**
* Sets the sequenced commands. The given commands must be of the allowed
* types.
*
* @param commands the commands - NOT NULL and o the allowed types
*
*/
void SyncBody::setCommands(ArrayList* commands) {
    BOOL err = FALSE;
    if (commands == NULL) {
        LOG.error("SyncBody::setCommands: null command list");
        err = TRUE;
    }
    for (int i = 0; i < commands->size(); i++) {
        if (commands->get(i) == NULL) {
            LOG.error("SyncBody::setCommands: command %d is null.", i);
            err = TRUE;
        }
    }
    if (err == FALSE) {
        this->commands->clear();
        this->commands = commands->clone();
    }
}

/**
* Sets the message as final
*
* @param finalMsg the Boolean value of finalMsg property
*/
void SyncBody::setFinalMsg(BOOL finalMsg) {
      if ((finalMsg == NULL) || (finalMsg != TRUE && finalMsg != FALSE)) {
        this->finalMsg = NULL;
    } else {
        this->finalMsg = finalMsg;
    }
}

/**
* Gets the value of finalMsg property
*
* @return true if this is the final message being sent, otherwise false
*
*/
BOOL SyncBody::isFinalMsg() {
    return (finalMsg != NULL);
}

/**
* Gets the value of finalMsg property
*
* @return true if this is the final message being sent, otherwise null
*
*/
BOOL SyncBody::getFinalMsg() {
    return finalMsg;
}

SyncBody* SyncBody::clone() {
    SyncBody* ret = new SyncBody(commands, finalMsg);
    return ret;
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成年人网站91| 捆绑调教一区二区三区| 不卡视频免费播放| 国产精品激情偷乱一区二区∴| 国产精品一区二区黑丝| 久久久午夜精品| 成人app软件下载大全免费| 亚洲精选视频免费看| 在线精品亚洲一区二区不卡| 午夜影院久久久| 精品电影一区二区三区| 日本一区二区视频在线观看| 久久久99久久精品欧美| 国产不卡视频一区二区三区| 国产精品久久久久影院| 欧美三级一区二区| 国产精品自拍av| 亚洲少妇30p| 制服视频三区第一页精品| 狠狠色丁香久久婷婷综| 亚洲视频1区2区| 日韩女优制服丝袜电影| 国产成a人无v码亚洲福利| 一区二区三区 在线观看视频| 3d成人h动漫网站入口| 国产精品 欧美精品| 亚洲第四色夜色| 国产日产欧美精品一区二区三区| 一本色道a无线码一区v| 久久99精品视频| 亚洲欧美日韩国产手机在线| 欧美一卡二卡在线观看| 波多野结衣精品在线| 香蕉成人伊视频在线观看| 欧美激情中文不卡| 欧美精品三级日韩久久| 国产成人免费视| 日日夜夜一区二区| 亚洲色图欧美在线| 日韩专区一卡二卡| 亚洲国产高清aⅴ视频| 欧美精品在线视频| 91免费视频网| 国产大陆a不卡| 麻豆91在线播放免费| 亚洲综合成人网| 国产精品理论片在线观看| 日韩欧美在线影院| 欧美日韩一二三| 972aa.com艺术欧美| 国产一区二区0| 免费三级欧美电影| 亚洲电影激情视频网站| 亚洲欧美日韩国产手机在线 | 亚洲精品老司机| 久久天堂av综合合色蜜桃网| 精品视频一区二区三区免费| 成人av免费在线播放| 韩国精品久久久| 久久成人久久鬼色| 日韩激情视频在线观看| 亚洲尤物视频在线| 一区二区三区日韩精品视频| 国产精品欧美一区二区三区| 精品粉嫩aⅴ一区二区三区四区| 91精品国产综合久久精品性色 | 在线观看中文字幕不卡| 成人午夜看片网址| 国产河南妇女毛片精品久久久| 精品无码三级在线观看视频| 日韩av在线免费观看不卡| 亚洲成av人片一区二区三区| 亚洲乱码国产乱码精品精小说| 国产精品美女www爽爽爽| 久久久久国产一区二区三区四区| 精品免费国产一区二区三区四区| 91精品蜜臀在线一区尤物| 欧美一区午夜视频在线观看| 欧美日韩高清影院| 欧美一级日韩免费不卡| 91精品国产麻豆国产自产在线 | 91无套直看片红桃| 91天堂素人约啪| 欧美日韩一区二区三区在线| 欧美色涩在线第一页| 欧美日韩视频专区在线播放| 欧美日韩一级片在线观看| 欧美丰满嫩嫩电影| 日韩欧美一级在线播放| 精品国内二区三区| 国产视频一区在线观看| 中文字幕在线不卡视频| 一区二区三区四区视频精品免费| 亚洲精品国产第一综合99久久| 亚洲欧美激情插| 91在线免费视频观看| 99国产精品99久久久久久| 色哟哟欧美精品| 欧美精品久久99| 欧美哺乳videos| 国产日韩三级在线| 伊人色综合久久天天| 美女网站色91| 成人美女视频在线看| 欧美主播一区二区三区| 欧美变态凌虐bdsm| 中文字幕一区不卡| 天天色天天爱天天射综合| 久久国产精品色| 91网站最新网址| 欧美www视频| 亚洲人成网站色在线观看| 轻轻草成人在线| 成人精品视频网站| 欧美一级欧美三级在线观看| 日本一区二区三区久久久久久久久不 | 精品一二三四在线| 91在线观看高清| 日韩一区二区在线看| 中文字幕一区在线| 日韩国产精品久久久| 成人a免费在线看| 51精品国自产在线| 亚洲少妇屁股交4| 国产自产视频一区二区三区| 在线视频你懂得一区二区三区| 91精选在线观看| 中文字幕综合网| 国产精品一区二区在线播放 | 肉丝袜脚交视频一区二区| 成人动漫在线一区| 精品1区2区在线观看| 亚洲小说春色综合另类电影| 国产电影精品久久禁18| 欧美伦理电影网| 亚洲视频一区在线| 成人午夜私人影院| 久久久影视传媒| 亚洲www啪成人一区二区麻豆| 成人免费视频视频| 久久久精品欧美丰满| 免费一级片91| 欧美日韩精品免费观看视频| 亚洲三级免费观看| 国产 日韩 欧美大片| 精品欧美久久久| 日韩一区精品字幕| 欧美撒尿777hd撒尿| 亚洲欧洲综合另类| 成人小视频免费观看| 久久婷婷国产综合精品青草| 美女视频一区在线观看| 欧美日产在线观看| 性欧美疯狂xxxxbbbb| 在线区一区二视频| 亚洲色图第一区| heyzo一本久久综合| 久久久久国色av免费看影院| 激情六月婷婷久久| 欧美精品一区二区三区蜜桃视频 | 亚洲欧美欧美一区二区三区| 夫妻av一区二区| 国产精品私人影院| 国产91精品精华液一区二区三区 | 国产精品传媒视频| bt欧美亚洲午夜电影天堂| 国产精品久久久爽爽爽麻豆色哟哟 | 欧美曰成人黄网| 一区二区三区鲁丝不卡| 在线区一区二视频| 亚洲成人午夜影院| 日韩欧美在线网站| 精油按摩中文字幕久久| 久久免费看少妇高潮| 国产一区二区三区香蕉| 久久久精品一品道一区| 成人性色生活片| 日韩理论片一区二区| 欧美性猛交xxxx乱大交退制版| 香蕉加勒比综合久久| 欧美tickling挠脚心丨vk| 国产一区二区毛片| 欧美国产激情二区三区| fc2成人免费人成在线观看播放| 亚洲欧美日韩中文播放| 色哟哟精品一区| 秋霞av亚洲一区二区三| 久久久亚洲综合| 91亚洲精品一区二区乱码| 午夜精品视频在线观看| 日韩免费观看2025年上映的电影| 国产又黄又大久久| 亚洲婷婷综合色高清在线| 欧美麻豆精品久久久久久| 精品亚洲porn| 亚洲四区在线观看| 日韩欧美一级二级三级| 成人精品国产免费网站| 婷婷成人激情在线网| 久久久久久**毛片大全|