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

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

?? clientsettings.h

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? H
字號:
/*
 * 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
 */
/*
 * TO SHARE WITH THE SAME CONTACTSETTING AS IN FUNAMBOL CLIENT PROJECT
 */
#ifndef INCL_CLIENT_SETTINGS2
#define INCL_CLIENT_SETTINGS2

#include "base/util/utils.h"
#include "client/DMTClientConfig.h"
#include "client/MailSourceManagementNode.h"
#include "spdm/ManagementNode.h"
#include "spdm/DMTreeFactory.h"
#include "spdm/DMTree.h"
#include "pim/WindowsSyncSourceConfig.h"

#define CS_DIRTY_DEVICE_CONFIG 0x00001
#define CS_DIRTY_SOURCE_ALL    0x00002
#define CS_DIRTY_SOURCE_MAIL   0x00004
#define CS_DIRTY_SOURCE_CONTACTS    0x00008
#define CS_DIRTY_SOURCE_CALENDAR    0x00010
#define CS_DIRTY_SOURCE_TASKS       0x00020
#define CS_DIRTY_SOURCE_NOTES       0x00040
#define CS_DIRTY_SOURCE_BRIEFCASE   0x00080
#define CS_DIRTY_ACCESS_CONFIG      0x00100
#define CS_DIRTY_ROOT_CONFIG        0x00200
#define CS_DIRTY_SOURCE_ENABLED     0x00400

#include <string>
using namespace std;

__declspec(dllexport) class ClientSettings : public DMTClientConfig {
public:

    __declspec(dllexport) static ClientSettings* getInstance();

    private:
        static ClientSettings* pinstance;

        ClientSettings(const ClientSettings&) {}

        // assignment operator
        ClientSettings& operator=(const ClientSettings&) {
            return *this;
        }

        BOOL dirty;

        // read only. It is for communcation settings
        string ipaddress;

        // client parameters. they are in the root
        string push;
        string pushPort;
        string sms;
        string polling;
        string svrNotified;
        string path;
        string isPortal;
        string cradleNotif;
        string enableCompression;
        
        string askUser;

        // for the sources
        string useSif; //contact, calendar, task
        string dir; //briefcase, notes
        string schedule;
        ClientSettings(const char* application_uri);
    public:

        ~ClientSettings();

        void refreshIP();

        void dispose(){
            if(pinstance) {
                delete pinstance;
            }
	        pinstance = NULL;
        }

        // generic syncSourceConfig. It has the common fields
        //SyncSourceConfig ssconfig;
        // Config for the email
        MailSyncSourceConfig* mailssconfig;

        // Array of specific SSConfig.
        WindowsSyncSourceConfig* winSourceConfigs;

        // Counter for winSourceConfigs array.
        // (internal use, should be equal to 'sourceConfigsCount' member)
        unsigned int winSourceConfigsCount;



        /**
         * read all the AccessConfig configuration of the client.
         * there is the Acc, Ext, Conn nodes.
         * The parameter needs to close remove the internal variables.
         * Use toClose = false when you want to keep the internal variable (as syncMLNode) used
         * to save the configuration
         */
        BOOL readConfig();
        BOOL saveConfig();

        // Extra data that can be used by the client

        // for communication form
        void setIp(string extip);
        __declspec(dllexport) string getIp();

        // only for client
        void setPush(string extpush);
        string getPush();

        void setPushPost(string extpushPort);
        string getPushPort();

        void setSms(string extsms);
        string getSms();

        void setPolling(string extpolling);
        string getPolling();

        void setSvrNotified(string extsvrNotified);
        string getSvrNotified();

        void setPath(string extpath);
        string getPath();

        void setCradleNotification(string cradleNotif);
        string getCradleNotification();

        void setIsPortal(string extportal);
        bool getIsPortal();

        void setAskUser(string extAskUser);
        string getAskUser();

        /*
         * read sync Sources config.
         * sourceType: the name of the source (contact, calendar, task...)
         * toClose: if the internal ManagementNode must be freed. They don't when read
         * is used before saving the paramenters
         * If sourceType is "all" all the sources with they basic paramenters are read.
         * the basic parameters are the common int the SyncSource class (like "sync", "type"...)
         * the "last" is not replaced.
         */
        //BOOL readConfigSources(const char* sourceType, BOOL toClose = true);

        /*
         * saveAll: to save all the sources config. It is used by the form
         * in which there are all the sources whith the list of the sync property.
         * If not specified saveAll parameter, it saves only the source that was loaded
         * and stored into ssconfig or mailssconfig
         */
        //BOOL saveConfigSources(const char* saveAll);

        const char* getConfigSourcesParameter(const char* sourceName, const char* parameter);
        BOOL setConfigSourcesParameter(const char* sourceName, const char* parameter, const char* value);

        /**
         * set/get sync folder, to be removed and start using setSyncDir and getSyncDir from WindowsSyncSourceConfig
         */
        void setDir(string extdir);
        string getDir();

        BOOL saveSyncSourceConfig(const char* name);
        int getConfigSourcesLastTimestamp(const char* sourceName);

        //void readSourcesTimestamps();
        //void readSyncModes();

        void saveWinSourceConfig(unsigned int i);
        BOOL setSyncSourceConfig(WindowsSyncSourceConfig& wsc);

        BOOL save();
        BOOL read();

        WindowsSyncSourceConfig* getWinSyncSourceConfig(const char* name);

        BOOL addSyncSourceConfig(WindowsSyncSourceConfig& wsc);

        void saveSyncModes();

        char* readPropertyValue(const char* context, const char* propertyName, HKEY rootKey);

        void readWinSourceConfig(unsigned int i);
        string getAppPath();
        BOOL saveDirty();
        void setDirty(int flag);
};

// get the ClientSettings object
__declspec(dllexport) ClientSettings* getRegConfig();

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚州成人在线电影| 日韩欧美久久久| 成人综合婷婷国产精品久久蜜臀| 亚洲成av人**亚洲成av**| 一级特黄大欧美久久久| 一区二区三区免费| 亚洲一区二区高清| 丝瓜av网站精品一区二区| 日韩精品三区四区| 国产精品中文字幕欧美| 国产不卡视频一区| kk眼镜猥琐国模调教系列一区二区| 波多野结衣亚洲| 欧美三级韩国三级日本一级| 制服丝袜日韩国产| 久久婷婷一区二区三区| 国产精品热久久久久夜色精品三区| 亚洲国产精品ⅴa在线观看| 最新日韩在线视频| 日日摸夜夜添夜夜添亚洲女人| 日韩激情在线观看| 国产成人免费xxxxxxxx| 91麻豆swag| 欧美一区二区啪啪| 中文字幕av不卡| 婷婷一区二区三区| 国产激情视频一区二区在线观看| 91免费视频大全| 制服丝袜亚洲精品中文字幕| 国产农村妇女精品| 性欧美疯狂xxxxbbbb| 韩国v欧美v亚洲v日本v| 一本到三区不卡视频| 日韩一区二区三| 国产精品第13页| 日本一不卡视频| 成人高清免费观看| 91精品国产综合久久久久久久| 精品久久久久一区| 一个色在线综合| 久久99在线观看| 在线观看成人免费视频| 久久久亚洲精华液精华液精华液| 一区二区久久久久| 国产99久久久国产精品| 5858s免费视频成人| 日韩一区在线免费观看| 麻豆高清免费国产一区| 色www精品视频在线观看| 久久综合色综合88| 视频一区免费在线观看| 日本道精品一区二区三区| 欧美精品一区在线观看| 午夜av电影一区| 色香色香欲天天天影视综合网| 欧美精品一区二区久久久| 午夜电影一区二区| 91传媒视频在线播放| 中文字幕av一区二区三区| 久久精品国产亚洲aⅴ| 337p亚洲精品色噜噜| 一区二区国产视频| 欧美性生活影院| 亚洲欧美日韩精品久久久久| 成人性生交大片免费看中文| 精品国产一区二区三区忘忧草| 日韩成人一区二区| 538在线一区二区精品国产| 亚洲国产毛片aaaaa无费看| 91一区二区在线| 亚洲精品国产精品乱码不99| 国产精品一区二区免费不卡| 欧美sm极限捆绑bd| 久久草av在线| 国产亚洲精品久| 国产精品自在欧美一区| 国产视频一区在线播放| 粉嫩av一区二区三区在线播放| 久久先锋资源网| 国产乱码一区二区三区| 国产女人18水真多18精品一级做| 高清日韩电视剧大全免费| 国产午夜一区二区三区| 91视频在线观看免费| 中文字幕成人在线观看| 粉嫩av一区二区三区在线播放 | 亚洲国产精品99久久久久久久久 | 国产欧美一区二区三区在线看蜜臀 | 国产人成一区二区三区影院| 国产麻豆午夜三级精品| 亚洲国产精品传媒在线观看| 一本久久a久久精品亚洲| 偷拍与自拍一区| 欧美精品一区二区三| 97久久精品人人做人人爽| 亚洲人成在线播放网站岛国| 91福利精品第一导航| 日韩电影在线观看网站| 久久精品亚洲乱码伦伦中文| 91同城在线观看| 日韩 欧美一区二区三区| 久久久久久久久久美女| 在线观看日韩一区| 久久精品国产亚洲高清剧情介绍| 亚洲国产成人在线| 69久久99精品久久久久婷婷| 国产精品1024| 日韩专区在线视频| 中文字幕+乱码+中文字幕一区| 在线精品视频一区二区| 久久99国产精品久久99| 亚洲欧美激情在线| 日韩一区二区在线免费观看| 成人黄色网址在线观看| 日韩国产一区二| 国产精品不卡在线| 日韩美一区二区三区| 日本韩国欧美一区| 国产在线精品视频| 日日夜夜一区二区| 亚洲免费观看高清在线观看| 精品乱人伦一区二区三区| 91小宝寻花一区二区三区| 捆绑调教一区二区三区| 亚洲综合免费观看高清完整版在线| 26uuu亚洲| 欧美精品一级二级三级| 95精品视频在线| 成人在线一区二区三区| 毛片基地黄久久久久久天堂| 亚洲一区二区三区爽爽爽爽爽| 国产清纯白嫩初高生在线观看91 | 国产精品一区二区免费不卡| 视频一区视频二区在线观看| 亚洲精品写真福利| 中日韩免费视频中文字幕| 日韩精品中文字幕一区| 欧美肥妇free| 欧美三级中文字幕在线观看| 777欧美精品| 51久久夜色精品国产麻豆| 精品婷婷伊人一区三区三| 99re在线精品| 96av麻豆蜜桃一区二区| 91蝌蚪porny九色| av在线不卡免费看| 白白色 亚洲乱淫| 国产成人精品免费一区二区| 久久成人18免费观看| 韩日欧美一区二区三区| 美女脱光内衣内裤视频久久影院| 无吗不卡中文字幕| 三级在线观看一区二区| 日本女人一区二区三区| 美国三级日本三级久久99| 免费视频一区二区| 麻豆91小视频| 精品一二三四在线| 国产一区二区女| 成人网在线免费视频| 成人av电影观看| 色乱码一区二区三区88| 色www精品视频在线观看| 在线免费观看成人短视频| 欧美高清视频一二三区| 5月丁香婷婷综合| 久久先锋资源网| 中文字幕免费不卡| 亚洲免费观看高清完整版在线 | 亚洲一二三四在线| 日韩成人一区二区| 国产在线精品视频| 国产成人精品aa毛片| 久久日韩精品一区二区五区| 精品一区二区在线看| 性做久久久久久久免费看| 亚洲综合久久久久| 午夜影视日本亚洲欧洲精品| 综合分类小说区另类春色亚洲小说欧美| 精品国产一区二区亚洲人成毛片 | 亚洲mv在线观看| 日韩精品高清不卡| 国产一区高清在线| 欧美日韩一区二区欧美激情| 精品久久人人做人人爱| 国产精品拍天天在线| 亚洲最新视频在线播放| 久久精品久久99精品久久| 成人app在线| 日韩一级在线观看| 国产精品久久一级| 日本v片在线高清不卡在线观看| 国产成人午夜片在线观看高清观看| 91丨porny丨国产| 日韩免费视频一区| 亚洲影院免费观看| 粉嫩久久99精品久久久久久夜| 在线成人免费观看| 亚洲免费电影在线| 国产精品一区免费在线观看|