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

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

?? nsoeprofilemigrator.cpp

?? 現(xiàn)在很火的郵件客戶端軟件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 Mail Profile Migrator. * * The Initial Developer of the Original Code is Scott MacGregor. * Portions created by the Initial Developer are Copyright (C) 2004 * the Initial Developer. All Rights Reserved. * * Contributor(s): *  Scott MacGregor <mscott@mozilla.org> * * 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 "nsDirectoryServiceDefs.h"#include "nsIObserverService.h"#include "nsIServiceManager.h"#include "nsISupportsArray.h"#include "nsISupportsPrimitives.h"#include "nsOEProfileMigrator.h"#include "nsIProfileMigrator.h"#include "nsVoidArray.h"#include "nsIImportSettings.h"#include "nsIFileSpec.h" // needed for an obsolete APINS_IMPL_ISUPPORTS2(nsOEProfileMigrator, nsIMailProfileMigrator, nsITimerCallback)nsOEProfileMigrator::nsOEProfileMigrator(){  mProcessingMailFolders = PR_FALSE;  // get the import service  mImportModule = do_CreateInstance("@mozilla.org/import/import-oe;1");}nsOEProfileMigrator::~nsOEProfileMigrator(){           }nsresult nsOEProfileMigrator::ContinueImport(){  return Notify(nsnull);}///////////////////////////////////////////////////////////////////////////////// nsITimerCallbackNS_IMETHODIMPnsOEProfileMigrator::Notify(nsITimer *timer){  PRInt32 progress;  mGenericImporter->GetProgress(&progress);    nsAutoString index;  index.AppendInt( progress );   NOTIFY_OBSERVERS(MIGRATION_PROGRESS, index.get());   if (progress == 100) // are we done yet?  {    if (mProcessingMailFolders)      return FinishCopyingMailFolders();    else      return FinishCopyingAddressBookData();  }  else  {    // fire a timer to handle the next one.     mFileIOTimer = do_CreateInstance("@mozilla.org/timer;1");    if (mFileIOTimer)      mFileIOTimer->InitWithCallback(NS_STATIC_CAST(nsITimerCallback *, this), 100, nsITimer::TYPE_ONE_SHOT);  }  return NS_OK;}///////////////////////////////////////////////////////////////////////////////// nsIMailProfileMigratorNS_IMETHODIMPnsOEProfileMigrator::Migrate(PRUint16 aItems, nsIProfileStartup* aStartup, const PRUnichar* aProfile){  nsresult rv = NS_OK;  PRBool aReplace = PR_FALSE;  if (aStartup)   {    aReplace = PR_TRUE;    rv = aStartup->DoStartup();    NS_ENSURE_SUCCESS(rv, rv);  }  NOTIFY_OBSERVERS(MIGRATION_STARTED, nsnull);  rv = ImportSettings(mImportModule);  // now import address books  // this routine will asynchronously import address book data and it will then kick off  // the final migration step, copying the mail folders over.  rv = ImportAddressBook(mImportModule);    // don't broadcast an on end migration here. We aren't done until our asynch import process says we are done.  return rv;}NS_IMETHODIMPnsOEProfileMigrator::GetMigrateData(const PRUnichar* aProfile,                                            PRBool aReplace,                                            PRUint16* aResult){  // There's no harm in assuming everything is available.  *aResult = nsIMailProfileMigrator::ACCOUNT_SETTINGS | nsIMailProfileMigrator::ADDRESSBOOK_DATA |              nsIMailProfileMigrator::MAILDATA;  return NS_OK;}NS_IMETHODIMPnsOEProfileMigrator::GetSourceExists(PRBool* aResult){  *aResult = PR_FALSE;    nsCOMPtr<nsIImportSettings> importSettings;  mImportModule->GetImportInterface(NS_IMPORT_SETTINGS_STR, getter_AddRefs(importSettings));  if (importSettings)  {    nsXPIDLString description;    nsCOMPtr<nsIFileSpec> location;    importSettings->AutoLocate(getter_Copies(description), getter_AddRefs(location), aResult);  }  return NS_OK;}NS_IMETHODIMPnsOEProfileMigrator::GetSourceHasMultipleProfiles(PRBool* aResult){  *aResult = PR_FALSE;  return NS_OK;}NS_IMETHODIMPnsOEProfileMigrator::GetSourceProfiles(nsISupportsArray** aResult){  *aResult = nsnull;  return NS_OK;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国v欧美v亚洲v日本v| 日韩有码一区二区三区| 成人av综合在线| 日韩一区在线看| 欧美二区三区91| 久久99精品久久只有精品| 国产欧美一区二区在线| 99久久精品情趣| 奇米精品一区二区三区在线观看| 欧美性猛交一区二区三区精品| 亚洲图片欧美一区| 久久综合资源网| 日本久久电影网| 国产一区二区视频在线| 一区二区三区欧美日| 不卡一区二区三区四区| 亚洲日韩欧美一区二区在线| 欧美色网站导航| 丰满白嫩尤物一区二区| 日韩中文字幕91| 亚洲视频你懂的| 精品伦理精品一区| 4438x成人网最大色成网站| 国产乱人伦偷精品视频免下载| 亚洲色图制服诱惑| 国产丝袜欧美中文另类| 日韩一区二区三区精品视频| thepron国产精品| 粉嫩蜜臀av国产精品网站| 免费欧美在线视频| 日精品一区二区三区| 亚洲三级久久久| 亚洲欧洲国产日韩| 国产精品久久久久久久第一福利| 91精品国产色综合久久不卡电影 | www国产精品av| 欧美影院午夜播放| 91福利国产成人精品照片| 99精品久久99久久久久| 成人午夜av电影| 99精品国产视频| 色综合天天综合| 在线亚洲精品福利网址导航| 在线看国产一区二区| 色婷婷久久综合| 欧美精品日韩综合在线| 欧美精品在线视频| 精品久久久久久久久久久久包黑料 | 久久久久国色av免费看影院| 久久久久久久电影| 亚洲视频在线观看三级| 亚洲小说欧美激情另类| 久久99最新地址| 国产91丝袜在线观看| 99久久精品情趣| 色婷婷久久综合| 色av一区二区| 久久久精品影视| 一区二区三区视频在线看| 久久精品国产999大香线蕉| www.激情成人| 国产视频一区在线播放| 亚洲地区一二三色| av午夜一区麻豆| 久久精品亚洲精品国产欧美kt∨| 亚洲视频免费观看| 国产成人日日夜夜| 久久综合999| 美脚の诱脚舐め脚责91 | 中文字幕国产精品一区二区| 丝瓜av网站精品一区二区 | 国产乱色国产精品免费视频| 欧美性videosxxxxx| 亚洲色图制服丝袜| 波多野结衣视频一区| 91美女精品福利| 久久蜜桃一区二区| 日韩av中文字幕一区二区三区| 91久久国产最好的精华液| 亚洲精品一区二区三区影院| 亚洲成av人在线观看| 欧美做爰猛烈大尺度电影无法无天| 久久久久久毛片| aaa欧美色吧激情视频| 国产日韩一级二级三级| 成人精品gif动图一区| 综合激情网...| 欧美图区在线视频| 青青草成人在线观看| 久久人人超碰精品| 99热国产精品| 日韩精品成人一区二区在线| 日韩欧美在线网站| 激情图片小说一区| 亚洲男女一区二区三区| 欧美一区二区三区在线观看视频 | 国产美女在线观看一区| 亚洲精品久久7777| 成人综合婷婷国产精品久久| 国产精品午夜电影| 欧美日韩午夜在线| 丁香桃色午夜亚洲一区二区三区| 国产精品国产自产拍高清av | 国产综合久久久久影院| 国产欧美精品一区二区色综合 | 欧美色精品在线视频| 麻豆精品一区二区| 久久综合中文字幕| 欧美片在线播放| 色综合亚洲欧洲| 波多野结衣在线一区| 久久99久久久欧美国产| 亚洲不卡在线观看| 亚洲精品国产精品乱码不99| 久久综合五月天婷婷伊人| 欧美亚一区二区| 色综合天天天天做夜夜夜夜做| 国产一区二区福利| 亚洲精品国产品国语在线app| 欧美日韩免费观看一区二区三区| 91美女片黄在线观看91美女| 国产麻豆欧美日韩一区| 美女网站视频久久| 国产精品资源网站| 蜜臀av一区二区三区| 免费成人结看片| 久久97超碰国产精品超碰| 视频一区视频二区在线观看| 亚洲一区视频在线观看视频| 亚洲制服丝袜av| 日日夜夜免费精品| 国产在线不卡一卡二卡三卡四卡| 美腿丝袜在线亚洲一区| 国产在线精品免费| 国产一区二区电影| 欧美做爰猛烈大尺度电影无法无天| 欧美体内she精视频| 日韩小视频在线观看专区| 国产日韩一级二级三级| 亚洲伊人色欲综合网| 狠狠久久亚洲欧美| 欧美日本一区二区| 国产精品免费人成网站| 亚洲一区二区影院| 国产精品综合在线视频| 国产成人在线电影| 顶级嫩模精品视频在线看| 91丨九色丨蝌蚪富婆spa| 欧美一区二区三级| 亚洲综合一区二区| 国产乱码一区二区三区| 91精品婷婷国产综合久久性色| 久久一夜天堂av一区二区三区 | 日韩视频免费观看高清完整版在线观看| 日韩片之四级片| 亚洲二区在线观看| 91天堂素人约啪| 国产精品久久看| 国产成人免费高清| 2024国产精品| 蜜桃久久久久久| 91精品国产入口| 日韩精品一二区| 日韩亚洲欧美中文三级| 日精品一区二区| 精品国产精品一区二区夜夜嗨| 免费欧美在线视频| 91精品免费观看| 捆绑紧缚一区二区三区视频| 777a∨成人精品桃花网| 国产传媒久久文化传媒| 久久影院视频免费| 97精品久久久午夜一区二区三区 | 美女网站色91| 国产午夜精品久久| 91久久奴性调教| 青青草97国产精品免费观看 | 国产日产欧美一区二区视频| 国产999精品久久| 亚洲成人激情自拍| 欧美精品一区二区久久久 | 91亚洲精品乱码久久久久久蜜桃| 亚洲人123区| 精品国产乱码久久久久久久| 成人激情开心网| 另类调教123区| 国产精品家庭影院| 精品国产免费久久| 欧美日本国产一区| 成人自拍视频在线观看| 麻豆精品视频在线| 亚洲va在线va天堂| 国产精品你懂的| 欧美一区二区在线观看| 99精品国产视频| 91在线国产福利| 大胆欧美人体老妇| 国产综合成人久久大片91| 亚洲第一激情av| 一区二区三区**美女毛片|