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

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

?? nsmailprofilemigratorutils.cpp

?? 現在很火的郵件客戶端軟件thunderbird的源碼
?? CPP
字號:
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- *//* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is The Browser Profile Migrator. * * The Initial Developer of the Original Code is Ben Goodger. * Portions created by the Initial Developer are Copyright (C) 2004 * the Initial Developer. All Rights Reserved. * * Contributor(s): *  Ben Goodger <ben@bengoodger.com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */#include "nsMailProfileMigratorUtils.h"#include "nsIFile.h"#include "nsIProperties.h"#include "nsIProfileMigrator.h"#include "nsServiceManagerUtils.h"#include "nsAppDirectoryServiceDefs.h"#include "nsXPCOMCID.h"#include "nsCRT.h"void SetProxyPref(const nsACString& aHostPort, const char* aPref,                   const char* aPortPref, nsIPrefBranch* aPrefs) {  nsCAutoString hostPort(aHostPort);    PRInt32 portDelimOffset = hostPort.RFindChar(':');  if (portDelimOffset > 0) {    nsCAutoString host(Substring(hostPort, 0, portDelimOffset));    nsCAutoString port(Substring(hostPort, portDelimOffset + 1,                                  hostPort.Length() - (portDelimOffset + 1)));        aPrefs->SetCharPref(aPref, host.get());    PRInt32 stringErr;    PRInt32 portValue = port.ToInteger(&stringErr);    aPrefs->SetIntPref(aPortPref, portValue);  }  else    aPrefs->SetCharPref(aPref, hostPort.get());}void ParseOverrideServers(const char* aServers, nsIPrefBranch* aBranch){  // Windows (and Opera) formats its proxy override list in the form:  // server;server;server where server is a server name or ip address,   // or "<local>". Mozilla's format is server,server,server, and <local>  // must be translated to "localhost,127.0.0.1"  nsCAutoString override(aServers);  PRInt32 left = 0, right = 0;  for (;;) {    right = override.FindChar(';', right);    const nsACString& host = Substring(override, left,                                        (right < 0 ? override.Length() : right) - left);    if (host.Equals("<local>"))      override.Replace(left, 7, NS_LITERAL_CSTRING("localhost,127.0.0.1"));    if (right < 0)      break;    left = right + 1;    override.Replace(right, 1, NS_LITERAL_CSTRING(","));  }  aBranch->SetCharPref("network.proxy.no_proxies_on", override.get());}void GetMigrateDataFromArray(MigrationData* aDataArray, PRInt32 aDataArrayLength,                              PRBool aReplace, nsIFile* aSourceProfile,                              PRUint16* aResult){  nsCOMPtr<nsIFile> sourceFile;   PRBool exists;  MigrationData* cursor;  MigrationData* end = aDataArray + aDataArrayLength;  for (cursor = aDataArray; cursor < end && cursor->fileName; ++cursor) {    // When in replace mode, all items can be imported.     // When in non-replace mode, only items that do not require file replacement    // can be imported.    if (aReplace || !cursor->replaceOnly) {      aSourceProfile->Clone(getter_AddRefs(sourceFile));      sourceFile->Append(nsDependentString(cursor->fileName));      sourceFile->Exists(&exists);      if (exists)        *aResult |= cursor->sourceFlag;    }    nsCRT::free(cursor->fileName);    cursor->fileName = nsnull;  }}voidGetProfilePath(nsIProfileStartup* aStartup, nsCOMPtr<nsIFile>& aProfileDir){  if (aStartup) {    aStartup->GetDirectory(getter_AddRefs(aProfileDir));  }  else {    nsCOMPtr<nsIProperties> dirSvc      (do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID));    if (dirSvc) {      dirSvc->Get(NS_APP_USER_PROFILE_50_DIR, NS_GET_IID(nsIFile),                  (void**) getter_AddRefs(aProfileDir));    }  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区三区在线播放| 欧美日韩国产a| 欧美日韩一区高清| 国产亚洲成aⅴ人片在线观看| 亚洲一区二区中文在线| 成人性视频网站| 日韩欧美123| 日韩国产精品久久久久久亚洲| 成人激情图片网| 亚洲精品一区二区三区99| 图片区小说区国产精品视频| 99久久er热在这里只有精品66| 精品国产sm最大网站免费看| 亚洲一区二区在线播放相泽| 成人黄色免费短视频| 欧美v国产在线一区二区三区| 亚洲韩国一区二区三区| jiyouzz国产精品久久| 精品国产网站在线观看| 奇米777欧美一区二区| 欧美色精品在线视频| 亚洲人成网站色在线观看| 国产精品一卡二卡| 久久久久久久精| 久久99国产精品免费网站| 精品视频在线看| 亚洲在线一区二区三区| 色悠悠久久综合| 亚洲色图欧美偷拍| 色综合天天综合网天天看片| 国产精品久久看| 99久久国产免费看| 亚洲丝袜另类动漫二区| 91蜜桃视频在线| 亚洲品质自拍视频网站| 91高清视频免费看| 亚洲一区在线免费观看| 精品污污网站免费看| 日本在线不卡视频一二三区| 欧美第一区第二区| 精品亚洲porn| 中文字幕国产精品一区二区| 成人app软件下载大全免费| 中文字幕在线免费不卡| 色欧美片视频在线观看| 亚洲一区免费在线观看| 欧美三级电影网| 蜜桃av一区二区三区| 26uuu精品一区二区| 成人国产精品免费观看动漫| 中文字幕一区二区三区四区| 欧洲生活片亚洲生活在线观看| 亚洲一区成人在线| 欧美一区二区成人| 国产精品正在播放| 亚洲色图在线看| 69久久夜色精品国产69蝌蚪网| 秋霞午夜鲁丝一区二区老狼| 26uuu国产日韩综合| 成人污视频在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 欧美日韩国产一区| 国产毛片精品国产一区二区三区| 国产精品久久久久三级| 欧美日韩久久一区| 国产一区 二区 三区一级| 亚洲另类在线视频| 精品国精品自拍自在线| 97精品国产露脸对白| 日本系列欧美系列| 国产精品久久久久永久免费观看 | 国产福利一区在线| 亚洲欧美乱综合| 26uuu欧美日本| 91国模大尺度私拍在线视频| 极品少妇xxxx偷拍精品少妇| 最新国产精品久久精品| 精品久久久久香蕉网| 色婷婷亚洲婷婷| 国产在线精品一区在线观看麻豆| 国产精品国产自产拍高清av王其 | 91香蕉国产在线观看软件| 午夜不卡在线视频| 自拍偷在线精品自拍偷无码专区 | 国产在线精品一区二区不卡了| 日韩伦理电影网| 精品第一国产综合精品aⅴ| 在线免费观看一区| 成人午夜视频免费看| 日韩国产一区二| 一区二区国产视频| 国产精品久久久久久久蜜臀| 精品精品国产高清a毛片牛牛 | 在线中文字幕一区| 成人在线一区二区三区| 美女在线一区二区| 性做久久久久久久免费看| 亚洲色图另类专区| 国产精品久久久久久久裸模| 中文字幕精品在线不卡| 久久久国产午夜精品| 日韩三级在线观看| 日韩免费高清电影| 欧美高清精品3d| 欧美人与禽zozo性伦| 欧美性大战久久久久久久蜜臀| 99re这里只有精品首页| 成人手机电影网| 99久久婷婷国产综合精品电影| 国产精品影视在线观看| 国产精品影视在线| 成人免费电影视频| 99久久综合精品| 色综合天天综合| 色美美综合视频| 在线一区二区观看| 欧美精品三级日韩久久| 8x8x8国产精品| 日韩欧美国产一区二区在线播放| 日韩一区二区电影| 久久日韩精品一区二区五区| 国产午夜亚洲精品理论片色戒| 国产亚洲欧美日韩俺去了| 日本一区免费视频| 亚洲男同1069视频| 亚洲va欧美va人人爽午夜| 午夜视频在线观看一区二区三区| 天堂久久久久va久久久久| 日韩高清电影一区| 国产在线播精品第三| 国产91精品一区二区麻豆网站 | 亚洲精品国产无天堂网2021| 洋洋成人永久网站入口| 日韩中文字幕1| 国内精品伊人久久久久av一坑| 国产成人日日夜夜| 91视频精品在这里| 7777精品伊人久久久大香线蕉 | 国产色产综合色产在线视频| 国产精品热久久久久夜色精品三区| √…a在线天堂一区| 国产精品资源网| 成人美女视频在线看| 欧美天天综合网| 亚洲精品在线三区| 亚洲女人****多毛耸耸8| 免费观看在线综合| 成人av一区二区三区| 欧美日本乱大交xxxxx| 国产视频一区二区在线| 亚洲一区二区av电影| 国产成人一区二区精品非洲| 91国偷自产一区二区三区观看| 欧美一级xxx| 亚洲男人的天堂在线观看| 男女激情视频一区| 91在线高清观看| 精品国产免费人成在线观看| 亚洲日本韩国一区| 国产一区二区剧情av在线| 欧美午夜影院一区| 欧美激情中文不卡| 日韩av电影一区| 91久久国产综合久久| 国产网站一区二区三区| 视频在线观看国产精品| 成人h版在线观看| 精品99一区二区三区| 亚洲国产成人av| 91在线国产福利| 中文字幕免费不卡| 久久成人久久鬼色| 91精品国产美女浴室洗澡无遮挡| 最近日韩中文字幕| 国产寡妇亲子伦一区二区| 欧美一二区视频| 午夜精品久久久久影视| 一本久道久久综合中文字幕| 中文字幕精品在线不卡| 国产乱人伦精品一区二区在线观看 | 欧美性生活影院| 亚洲欧美综合另类在线卡通| 国产一区视频导航| 日韩欧美专区在线| 日韩国产精品大片| 欧美日韩国产成人在线91| 亚洲一区二区在线观看视频 | 色欧美88888久久久久久影院| 国产精品丝袜在线| 国产乱人伦精品一区二区在线观看 | 亚洲成国产人片在线观看| 91浏览器在线视频| 日韩美女精品在线| 99热99精品| 夜夜爽夜夜爽精品视频| 色综合天天综合在线视频| 亚洲六月丁香色婷婷综合久久| 一本久久精品一区二区| 亚洲午夜在线观看视频在线| 欧洲中文字幕精品|