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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? syncitemstatus.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 "spds/SyncItemStatus.h"

/*
 * Default constructor
 */
SyncItemStatus::SyncItemStatus() {
	key = NULL;
}

/*
 * Constructs a new SyncItemStatus identified by the given key. The key must
 * not be longer than DIM_KEY_SYNC_ITEM_STATUS (see SPDS Constants).
 *
 * @param key - the key
 */
SyncItemStatus::SyncItemStatus(char* itemStatusKey){

    key = new char[strlen(itemStatusKey)+1];
    strcpy(key, itemStatusKey);

    data    = 0;
    cmdID   = 0;
    msgRef  = 0;
    cmdRef  = 0;

    cmd = NULL;

}

SyncItemStatus::~SyncItemStatus() {
	if (key) {
		delete [] key;
	}

	if (cmd) {
		delete [] cmd;
	}

}

/*
 * Returns the SyncItemStatus's key. If key is NULL, the internal buffer is
 * returned; if key is not NULL, the value is copied in the caller
 * allocated buffer and the given buffer pointer is returned.
 *
 * @param key - buffer where the key will be stored
 */
const char* SyncItemStatus::getKey() {
    return key;
}

/*
 * Changes the SyncItemStatus key. The key must not be longer than DIM_KEY_SYNC_ITEM_STATUS
 * (see SPDS Constants).
 *
 * @param key - the key
 */
void SyncItemStatus::setKey(const char*itemStatusKey) {
	if (key) {
		delete [] key;
	}
	key = new char[strlen(itemStatusKey)+1];
    strcpy(key, itemStatusKey);
}

 /*
 * Returns the SyncItemStatus's command name. If cmd is NULL, the internal buffer is
 * returned; if cmd is not NULL, the value is copied in the caller
 * allocated buffer and the given buffer pointer is returned.
 *
 * @param itemStatusCmd - buffer where the itemStatusCmd will be stored
 */
const char* SyncItemStatus::getCmd() {
    return cmd;
}


/*
 * Changes the SyncItemStatus cmd. The cmd must not be longer than DIM_COMMAND_SYNC_ITEM_STATUS
 * (see SPDS Constants).
 *
 * @param itemStatusCmd - the itemStatusCmd
 */
void SyncItemStatus::setCmd(const char*itemStatusCmd) {
    if (cmd) {
		delete [] cmd;
	}
	cmd = new char[strlen(itemStatusCmd)+1];
    strcpy(cmd, itemStatusCmd);

}


/*
 * Sets the SyncItemStatus data. The passed data are copied into an
 * internal variable.
 */
void SyncItemStatus::setData(int itemStatusData) {
    data = itemStatusData;
}

/*
 * Returns the SyncItemStatus data variable.
 */
int SyncItemStatus::getData() {
    return data;
}


/*
 * Sets the SyncItemStatus command ID. The passed data are copied into an
 * internal variable.
 */
void SyncItemStatus::setCmdID(int itemStatusCmdID) {
    cmdID = itemStatusCmdID;
}

/*
 * Returns the SyncItemStatus command ID variable.
 */
int SyncItemStatus::getCmdID() {
    return cmdID;
}

/*
 * Sets the SyncItemStatus message referring. The passed data are copied into an
 * internal variable.
 */
void SyncItemStatus::setMsgRef(int itemStatusMsgRef) {
    msgRef = itemStatusMsgRef;
}

/*
 * Returns the SyncItemStatus message referring variable.
 */
int SyncItemStatus::getMsgRef() {
    return msgRef;
}

/*
 * Sets the SyncItemStatus command referring. The passed data are copied into an
 * internal variable.
 */
void SyncItemStatus::setCmdRef(int itemStatusCmdRef) {
    cmdRef = itemStatusCmdRef;
}

/*
 * Returns the SyncItemStatus command referring variable.
 */
int SyncItemStatus::getCmdRef() {
    return cmdRef;
}

ArrayElement* SyncItemStatus::clone() {
	SyncItemStatus* ret = new SyncItemStatus(key);

	ret->setCmd(cmd);
	ret->setData(data);
	ret->setCmdRef(cmdRef);
	ret->setMsgRef(msgRef);
	ret->setCmdID(cmdID);

	return ret;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一级大片在线观看| 综合色中文字幕| 欧美人动与zoxxxx乱| 老司机精品视频导航| 亚洲福利一区二区| 亚洲精品精品亚洲| 国产精品视频免费| 国产日韩综合av| 欧美成人国产一区二区| 欧美视频一区二区三区| 成人午夜视频免费看| 精品一区二区在线观看| 青青草国产成人99久久| 尤物在线观看一区| 亚洲女人小视频在线观看| 国产精品国产三级国产普通话蜜臀 | 精品一区二区在线观看| 国产精品激情偷乱一区二区∴| 色综合视频在线观看| 国产一区二区三区免费看| 日本色综合中文字幕| 亚洲综合色婷婷| 一区二区三区高清不卡| 伊人婷婷欧美激情| 一区二区三区久久| 欧美国产日韩一二三区| 亚洲精品一线二线三线| 久久精品亚洲精品国产欧美| 久久精品免视看| 国产欧美1区2区3区| 欧美精品一区二区高清在线观看| 日韩一区二区三区电影在线观看| 91国产丝袜在线播放| 欧美在线制服丝袜| 欧美高清视频在线高清观看mv色露露十八| 精品视频在线看| 884aa四虎影成人精品一区| 制服丝袜成人动漫| 欧美不卡一区二区三区| 久久久久久久久岛国免费| 欧美国产一区二区| 久久这里只精品最新地址| 国产精品入口麻豆九色| 亚洲免费观看在线视频| 亚洲一线二线三线视频| 视频精品一区二区| 国产在线麻豆精品观看| 成人福利视频网站| 欧美日韩视频在线第一区 | 国内精品久久久久影院薰衣草| 成人丝袜视频网| 亚洲色图第一区| 亚洲成人精品影院| 国内不卡的二区三区中文字幕| 国产九九视频一区二区三区| 不卡一区在线观看| 亚洲激情成人在线| 精品久久一二三区| 欧美曰成人黄网| eeuss鲁片一区二区三区在线观看| 国产精品蜜臀av| 国产一区二区在线观看视频| 韩国理伦片一区二区三区在线播放| 国产乱色国产精品免费视频| 曰韩精品一区二区| 6080yy午夜一二三区久久| 欧美在线观看禁18| 中文字幕av一区二区三区免费看| 国产美女一区二区三区| 91超碰这里只有精品国产| 日韩一区二区免费视频| 久久亚洲综合色| 亚洲精品国产无天堂网2021 | 亚洲曰韩产成在线| 国产成人自拍在线| 中文字幕亚洲一区二区va在线| 美国av一区二区| 91精品一区二区三区久久久久久 | 欧美v亚洲v综合ⅴ国产v| 亚洲国产激情av| 精品一区二区三区香蕉蜜桃| 精品理论电影在线观看| 亚洲综合一区在线| 成人中文字幕在线| 国产精品不卡一区二区三区| 久久99精品久久久| 欧美亚洲综合在线| 亚洲成人自拍网| 91成人免费网站| 91.com视频| 男男成人高潮片免费网站| 亚洲人成网站影音先锋播放| 欧美精品粉嫩高潮一区二区| 免费成人在线观看视频| 欧美激情一区二区三区| 国产老妇另类xxxxx| 欧美一区二区三区免费大片| 成人在线视频一区二区| 国产喂奶挤奶一区二区三区| 国产精品一区二区久久不卡| 色就色 综合激情| 国产亚洲精品资源在线26u| 日韩高清中文字幕一区| 欧美精品三级日韩久久| 午夜精品久久久久久久蜜桃app| 欧美成人aa大片| ww亚洲ww在线观看国产| 九九精品一区二区| 欧美成人伊人久久综合网| 精品一区二区三区在线视频| 日韩一区二区免费在线电影| 奇米精品一区二区三区在线观看| 日韩一区二区高清| 麻豆精品新av中文字幕| 欧美成人在线直播| 国产成人日日夜夜| 中文字幕亚洲欧美在线不卡| 91视频免费播放| 亚洲国产精品久久人人爱| 欧美三区免费完整视频在线观看| 五月激情综合网| 欧美va在线播放| 成人综合在线视频| 一区二区三区久久| 欧美一区二区三区在线视频| 久久机这里只有精品| 久久一二三国产| 成人黄色在线看| 亚洲永久免费视频| 日韩欧美国产麻豆| 国产精品乡下勾搭老头1| 中文字幕一区二区在线播放| 日本黄色一区二区| 美脚の诱脚舐め脚责91| 国产三级三级三级精品8ⅰ区| 国产成人av电影免费在线观看| 国产精品国产三级国产有无不卡 | 亚洲大片在线观看| 日韩女优视频免费观看| 成人污视频在线观看| 亚洲午夜免费福利视频| 精品国产污污免费网站入口| 成人av在线一区二区| 亚洲视频狠狠干| 成人av电影在线网| 欧美一区二区在线免费观看| 中文字幕国产一区二区| 一区二区三区高清| 亚洲午夜在线视频| 亚洲最色的网站| 中文字幕日本乱码精品影院| 久久久另类综合| 3atv一区二区三区| 久久网站最新地址| 成人免费视频网站在线观看| 亚洲天堂网中文字| 91精品国产美女浴室洗澡无遮挡| 国产.欧美.日韩| 亚洲国产精品久久不卡毛片 | 国产激情偷乱视频一区二区三区 | 成人免费毛片aaaaa**| 日韩精品一卡二卡三卡四卡无卡| 国产精品午夜免费| 欧美一区二区三区色| 99久久精品免费精品国产| 美脚の诱脚舐め脚责91| 亚洲精品免费一二三区| 精品99999| 欧美日韩国产高清一区二区三区| 成人精品一区二区三区四区| 青青草97国产精品免费观看无弹窗版| 成人欧美一区二区三区视频网页 | 一区二区在线观看av| 国产欧美va欧美不卡在线| 日韩一区二区三区免费观看| 欧美在线观看一区二区| 成人免费看片app下载| 精一区二区三区| 日韩精品一卡二卡三卡四卡无卡| 18成人在线视频| 久久久精品黄色| 欧美不卡123| 日韩一区二区免费在线电影| 欧美日韩一区二区三区视频| 99re免费视频精品全部| 成人一区二区三区中文字幕| 极品少妇xxxx偷拍精品少妇| 午夜激情久久久| 亚洲图片欧美综合| 一个色在线综合| 最新热久久免费视频| 欧美激情一区二区三区蜜桃视频 | 国产视频一区二区在线观看| 欧美一级在线观看| 欧美肥妇free| 欧美少妇xxx| 欧美视频精品在线| 欧美日韩视频在线一区二区| 欧美影视一区在线| 欧美亚洲一区二区在线观看|