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

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

?? contact.cpp

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? CPP
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
                    businessDetail->setAddress(*adr);

                    delete adr;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("ROLE")))
                if(getProperty(i)->getValue()) {
                    vCardProperty *prop = getPropertyFromVProperty(getProperty(i));
                    if(!businessDetail)
                        businessDetail = new BusinessDetail();
                    businessDetail->setRole(*prop);

                    delete prop;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("TITLE")))
                if(getProperty(i)->getValue()) {
                    titles[titlesIndex] = new WCHAR[MAX_VPROPERTY_VALUE + 1];
                    wcscpy(titles[titlesIndex], getProperty(i)->getValue());
                    titlesIndex++;
                }

            if(!wcscmp(getProperty(i)->getName(), TEXT("ORG")))
                if(getProperty(i)->getValue()) {
                    vCardProperty *prop = getPropertyFromVProperty(getProperty(i));
                    if(!businessDetail)
                        businessDetail = new BusinessDetail();
                    businessDetail->setCompany(*prop);

                    delete prop;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("LOGO")))
                if(getProperty(i)->getValue()) {
                    vCardProperty *prop = getPropertyFromVProperty(getProperty(i));
                    if(!businessDetail)
                        businessDetail = new BusinessDetail();
                    businessDetail->setLogo(*prop);

                    delete prop;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("TEL")))
                if(getProperty(i)->isType(TEXT("WORK"))) {
                    if(getProperty(i)->isType(TEXT("CELL"))) {
                        vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                        Phone* phone = new Phone();
                        phone->setPhoneNumber(*prop);
                        phone->setType(TEXT("MobileBusinessTelephoneNumber"));
                        if(!phones)
                            phones = new ArrayList();
                        phones->add((ArrayElement&) *phone);
                        delete phone;
                    }

                    if(getProperty(i)->isType(TEXT("VOICE"))) {
                        vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                        Phone* phone = new Phone();
                        phone->setPhoneNumber(*prop);
                        phone->setType(TEXT("BusinessTelephoneNumber"));
                        if(!phones)
                            phones = new ArrayList();
                        phones->add((ArrayElement&) *phone);
                        delete phone;
                    }

                    if(getProperty(i)->isType(TEXT("FAX"))) {
                        vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                        Phone* phone = new Phone();
                        phone->setPhoneNumber(*prop);
                        phone->setType(TEXT("BusinessFaxNumber"));
                        if(!phones)
                            phones = new ArrayList();
                        phones->add((ArrayElement&) *phone);
                        delete phone;
                    }
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("EMAIL")))
                if(getProperty(i)->containsParameter(TEXT("WORK")) && getProperty(i)->isType(TEXT("INTERNET"))) {
                    vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                    Email* email = new Email();
                    email->setEmailAddress(*prop);
                    email->setType(TEXT("Email3Address"));
                    if(!emails)
                        emails = new ArrayList();
                    emails->add((ArrayElement&) *email);
                    delete email;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("URL")))
                if(getProperty(i)->containsParameter(TEXT("WORK"))) {
                    vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                    WebPage* url = new WebPage();
                    url->setWebPage(*prop);
                    url->setType(TEXT("BusinessWebPage"));
                    if(!webPages)
                        webPages = new ArrayList();
                    webPages->add((ArrayElement&) *url);
                    delete url;
                }
        }
       if(titlesIndex>0) {
            if(!businessDetail)
                businessDetail = new BusinessDetail();
            businessDetail->setTitles(titles, titlesIndex);
            delete *titles;
        }
        if(phones) {
            if(!contactDetail)
                contactDetail = new ContactDetail();
            contactDetail->setPhones(*phones);
            delete phones;
        }
        if(emails) {
            if(!contactDetail)
                contactDetail = new ContactDetail();
            contactDetail->setEmails(*emails);
            delete emails;
        }
        if(webPages) {
            if(!contactDetail)
                contactDetail = new ContactDetail();
            contactDetail->setWebPages(*webPages);
            delete webPages;
        }
        if(contactDetail) {
            if(!businessDetail)
                businessDetail = new BusinessDetail();
            businessDetail->setContactDetail(*contactDetail);
            delete contactDetail;
        }
    }
    return businessDetail;
}

void Contact::setBusinessDetail(BusinessDetail& d) {
    if (businessDetail) delete businessDetail;

    businessDetail = d.clone();

    for(int i = 0, m = propertiesCount(); i < m;i++) {
        if(!wcscmp(getProperty(i)->getName(), TEXT("ADR")) && getProperty(i)->isType(TEXT("WORK"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("LABEL")) && getProperty(i)->isType(TEXT("WORK"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("ROLE"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("TITLE"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("ORG"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("LOGO"))) {
            removeProperty(i);
            --i;
            --m;
        }
        if(!wcscmp(getProperty(i)->getName(), TEXT("TEL")) && getProperty(i)->isType(TEXT("WORK"))) {
                    removeProperty(i);
                    --i;
                    --m;
                }
        if(!wcscmp(getProperty(i)->getName(), TEXT("EMAIL")) && getProperty(i)->containsParameter(TEXT("WORK"))
            && getProperty(i)->isType(TEXT("INTERNET"))) {
                removeProperty(i);
                --i;
                --m;
            }
            if(!wcscmp(getProperty(i)->getName(), TEXT("URL")) && getProperty(i)->containsParameter(TEXT("WORK"))) {
                removeProperty(i);
                --i;
                --m;
            }
    }

    if(businessDetail) {
        if(businessDetail->getAddress()) {
            VProperty* vp = composeVAddress(businessDetail->getAddress());
            vp->addParameter(TEXT("TYPE"), TEXT("WORK"));
            insertProperty(vp);

            if(businessDetail->getAddress()->getLabel()) {
                VProperty* vp = getVPropertyFromProperty(TEXT("LABEL"),businessDetail->getAddress()->getLabel());
                vp->addParameter(TEXT("TYPE"), TEXT("WORK"));
                insertProperty(vp);
            }
        }
        if(businessDetail->getContactDetail()) {
            if(businessDetail->getContactDetail()->getEmails()) {
                ArrayList* emails = businessDetail->getContactDetail()->getEmails();
                for (int i=0; i<emails->size(); ++i) {
                    if(((Email*) emails->get(i))->getProperty()) {
                        VProperty* vp = getVPropertyFromProperty(TEXT("EMAIL"), ((Email*)emails->get(i))->getProperty());
                        vp->addParameter(TEXT("WORK"), NULL);
                        vp->addParameter(TEXT("TYPE"),TEXT("INTERNET"));
                        insertProperty(vp);
                    }
                }
            }
            if(businessDetail->getContactDetail()->getWebPages()) {
                ArrayList* webs = businessDetail->getContactDetail()->getWebPages();
                for (int i=0; i<webs->size(); ++i) {
                    if(((WebPage*) webs->get(i))->getProperty()) {
                        VProperty* vp = getVPropertyFromProperty(TEXT("URL"), ((WebPage*)webs->get(i))->getProperty());
                        vp->addParameter(TEXT("WORK"), NULL);
                        insertProperty(vp);
                    }
                }
            }
            if(businessDetail->getContactDetail()->getPhones()) {
                ArrayList* phones = businessDetail->getContactDetail()->getPhones();
                for (int i=0; i<phones->size(); ++i)
                    if(((Phone*) phones->get(i))->getProperty()) {
                        VProperty* vp = getVPropertyFromProperty(TEXT("TEL"), ((Phone*)phones->get(i))->getProperty());
                        if(!wcscmp(TEXT("MobileBusinessTelephoneNumber"),((Phone*)phones->get(i))->getType()))
                            vp->addParameter(TEXT("TYPE"),TEXT("WORK,CELL"));
                        if(!wcscmp(TEXT("BusinessTelephoneNumber"),((Phone*)phones->get(i))->getType()))
                            vp->addParameter(TEXT("TYPE"),TEXT("WORK,VOICE"));
                        if(!wcscmp(TEXT("BusinessFaxNumber"),((Phone*)phones->get(i))->getType()))
                            vp->addParameter(TEXT("TYPE"),TEXT("WORK,FAX"));
                        insertProperty(vp);
                    }
            }
        }
        if(businessDetail->getRole()) {
            VProperty* vp = getVPropertyFromProperty(TEXT("ROLE"), businessDetail->getRole());
            insertProperty(vp);
        }
        if(businessDetail->getLogo()) {
            VProperty* vp = getVPropertyFromProperty(TEXT("LOGO"), businessDetail->getLogo());
            insertProperty(vp);
        }
        if(businessDetail->getCompany()) {
            VProperty* vp = getVPropertyFromProperty(TEXT("ORG"), businessDetail->getCompany());
            insertProperty(vp);
        }

        if(businessDetail->getTitles()) {
            ArrayList* titles = businessDetail->getTitles();
            for (int i=0; i<titles->size(); ++i) {
                if(((Title*)titles->get(i))->getProperty()) {
                    VProperty* vp = getVPropertyFromProperty(TEXT("TITLE"), ((Title*)titles->get(i))->getProperty());
                    insertProperty(vp);
                }
            }
        }
    }
}

PersonalDetail* Contact::getPersonalDetail() {
    if(!personalDetail) {
        ArrayList* phones = new ArrayList();
        ArrayList* emails = new ArrayList();
        ArrayList* webPages = new ArrayList();
        ContactDetail* contactDetail = NULL;
        Address* adr = NULL;

        for(int i = 0; i<propertiesCount();i++) {
            if(!wcscmp(getProperty(i)->getName(), TEXT("ADR")) && getProperty(i)->isType(TEXT("HOME")))
                if(getProperty(i)->getValue()) {
                    adr = composeAddress(getProperty(i), HOME);
                    if(!personalDetail)
                        personalDetail = new PersonalDetail();
                    personalDetail->setAddress(*adr);
                    delete adr;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("LABEL")) && getProperty(i)->isType(TEXT("HOME")))
                if(getProperty(i)->getValue()) {
                    adr = addLabelAddress(getProperty(i), HOME);
                    if(!personalDetail)
                        personalDetail = new PersonalDetail();
                    personalDetail->setAddress(*adr);
                    delete adr;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("ADR")) && !getProperty(i)->isType(TEXT("HOME"))
                && !getProperty(i)->isType(TEXT("WORK")))
                if(getProperty(i)->getValue()) {
                    adr = composeAddress(getProperty(i), OTHER);
                    if(!personalDetail)
                        personalDetail = new PersonalDetail();
                    personalDetail->setOtherAddress(*adr);
                    delete adr;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("LABEL")) && !getProperty(i)->isType(TEXT("HOME"))
                && !getProperty(i)->isType(TEXT("WORK")))
                if(getProperty(i)->getValue()) {
                    adr = addLabelAddress(getProperty(i), OTHER);
                    if(!personalDetail)
                        personalDetail = new PersonalDetail();
                    personalDetail->setOtherAddress(*adr);
                    delete adr;
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("PHOTO")))
                if(getProperty(i)->getValue()) {
                    vCardProperty* prop = getPropertyFromVProperty(getProperty(i));
                    if(!personalDetail)
                        personalDetail = new PersonalDetail();
                    personalDetail->setPhoto(*prop);
                }
            if(!wcscmp(getProperty(i)->getName(), TEXT("BDAY")) && getProperty(i)->getValue()) {
                if(!personalDetail)
                    personalDetail = new PersonalDetail();

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久国际精品| 免费精品99久久国产综合精品| 久久久午夜精品| 337p日本欧洲亚洲大胆精品 | 日韩女优视频免费观看| 欧美精品日韩综合在线| 欧美片在线播放| 欧美一区二区日韩| 日韩一级成人av| 精品精品欲导航| 精品国产免费一区二区三区四区 | 欧美α欧美αv大片| 日韩精品一区二区三区中文不卡 | 日韩不卡一区二区三区| 免费观看日韩电影| 久久99热这里只有精品| 国产综合色精品一区二区三区| 国产一区二区成人久久免费影院 | 日韩免费视频一区| 欧美v日韩v国产v| 亚洲精品一区二区三区99| 久久欧美一区二区| 国产精品久久久久9999吃药| 亚洲日本va午夜在线电影| 一区二区三区日韩欧美精品| 性做久久久久久久免费看| 麻豆91精品视频| 国产不卡高清在线观看视频| 91丨九色丨蝌蚪丨老版| 在线免费亚洲电影| 日韩一区二区精品在线观看| 久久精品在这里| 亚洲永久免费视频| 免费在线欧美视频| 国产成人av影院| 欧洲精品在线观看| 日韩一级欧美一级| 欧美国产97人人爽人人喊| 亚洲一区二区视频在线观看| 捆绑紧缚一区二区三区视频| 丰满白嫩尤物一区二区| 欧美日韩一级片网站| 2021国产精品久久精品| 亚洲丝袜自拍清纯另类| 日本不卡1234视频| 91视频免费播放| 日韩免费观看高清完整版| 国产精品毛片无遮挡高清| 日日骚欧美日韩| 不卡大黄网站免费看| 91精品婷婷国产综合久久性色| 国产欧美日韩卡一| 婷婷丁香久久五月婷婷| 国产xxx精品视频大全| 欧美三级视频在线| 国产免费成人在线视频| 丝瓜av网站精品一区二区 | 久久九九影视网| 亚洲一级片在线观看| 国产福利一区二区三区视频在线| 欧美四级电影网| 国产精品久久久久久久久免费丝袜| 亚洲a一区二区| 99久久精品99国产精品| 欧美精品一区二区三区蜜桃视频 | 麻豆91在线看| 欧美在线免费观看视频| 欧美高清在线视频| 久久99蜜桃精品| 欧美性受xxxx| 国产精品初高中害羞小美女文| 免费av网站大全久久| 在线视频国产一区| 亚洲人成在线观看一区二区| 国产成人av电影免费在线观看| 欧美一区二区成人6969| 亚洲精品视频在线观看网站| 成人免费高清在线| 久久久.com| 国产一区二区三区免费| 51精品视频一区二区三区| 一级做a爱片久久| 成人国产精品免费观看动漫| 久久综合九色欧美综合狠狠| 久久超碰97人人做人人爱| 欧美日韩黄色一区二区| 亚洲自拍偷拍图区| 日本国产一区二区| 亚洲免费在线视频一区 二区| 成人免费观看视频| 国产精品免费视频网站| 国产成人综合精品三级| 精品国产91九色蝌蚪| 久久成人免费网| 26uuu另类欧美| 久久99国内精品| 欧美成人伊人久久综合网| 蜜桃av一区二区| 日韩欧美亚洲国产精品字幕久久久| 日韩精品一区第一页| 3d成人h动漫网站入口| 免费欧美在线视频| 日韩欧美综合一区| 日本欧美在线看| 欧美一级午夜免费电影| 日韩电影在线免费看| 91精品国产综合久久久蜜臀粉嫩 | 亚洲一区二区三区美女| 欧美专区日韩专区| 亚洲国产精品一区二区www| 在线视频亚洲一区| 视频一区二区三区入口| 欧美一区二区三区婷婷月色| 老色鬼精品视频在线观看播放| 日韩免费在线观看| 国产成人日日夜夜| 国产精品免费久久久久| 色综合天天综合给合国产| 亚洲综合免费观看高清在线观看| 在线视频你懂得一区| 婷婷成人激情在线网| 日韩三级免费观看| 国产福利精品导航| 亚洲视频在线观看三级| 欧美色倩网站大全免费| 日韩激情av在线| 久久免费电影网| jlzzjlzz亚洲日本少妇| 亚洲一区二区黄色| 精品久久久久久综合日本欧美 | 精品久久久久久久久久久院品网| 国产麻豆成人传媒免费观看| 国产精品欧美经典| 欧美日本一区二区三区| 九九视频精品免费| 中文字幕永久在线不卡| 欧美日韩国产中文| 国产一区二区美女| 亚洲欧美日韩精品久久久久| 欧美一二三四在线| 国产麻豆精品视频| 一个色综合av| 日韩一级在线观看| aaa亚洲精品一二三区| 三级欧美韩日大片在线看| 久久综合色鬼综合色| 色综合久久久网| 狠狠久久亚洲欧美| 一区二区三区精品在线观看| 日韩网站在线看片你懂的| 精品国产91洋老外米糕| 91蝌蚪porny成人天涯| 蜜桃久久av一区| 亚洲同性同志一二三专区| 日韩小视频在线观看专区| 99re8在线精品视频免费播放| 男人操女人的视频在线观看欧美| 最新国产成人在线观看| 欧美一区二区三区四区久久| 波波电影院一区二区三区| 日本免费在线视频不卡一不卡二| 国产精品丝袜一区| 欧美一卡2卡3卡4卡| 99精品视频在线观看免费| 老司机精品视频导航| 亚洲自拍偷拍欧美| 国产日韩精品一区二区浪潮av| 337p亚洲精品色噜噜| 色哟哟一区二区| 国产91高潮流白浆在线麻豆 | 韩日av一区二区| 亚洲国产日韩一级| 国产精品沙发午睡系列990531| 91精品欧美福利在线观看| 在线免费视频一区二区| 成人av小说网| 国产麻豆精品theporn| 美女在线视频一区| 午夜精品一区二区三区电影天堂| 亚洲欧美日韩综合aⅴ视频| 久久看人人爽人人| 欧美tk—视频vk| 欧美一区日本一区韩国一区| 91成人免费在线视频| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 色婷婷av一区二区三区软件| 国产精品一二三区| 精品影视av免费| 日韩精彩视频在线观看| 亚洲成人激情综合网| 亚洲精品成人少妇| 中文字幕欧美一| 国产精品久线在线观看| www久久精品| 7777精品伊人久久久大香线蕉超级流畅 | aa级大片欧美| eeuss鲁一区二区三区| 成人app下载| www.欧美亚洲| 99久久99久久精品国产片果冻|